-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(*): enable strict type checking options in tsconfig
#455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(*): enable strict type checking options in tsconfig
#455
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request enables stricter TypeScript compiler settings to improve type safety across three packages by transitioning from loose to strict type checking configurations.
- Enables
strict
mode to activate all strict type checking options - Activates
strictNullChecks
andstrictPropertyInitialization
for better initialization safety - Sets
exactOptionalPropertyTypes
to true for more precise optional property handling
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Bundle ReportChanges will decrease total bundle size by 1 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: website-esmAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #455 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 11 11
Lines 424 424
=========================================
Hits 424 424 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
tsconfig
tsconfig
Labels have been automatically applied based on the Conventional Commits specification.🏷️ |
…or`) (#461) ## Release Information: `v2.0.0` New release of `lumirlumir/npm-clang-format-node` has arrived! 🎉 This PR bumps the package versions from `v1.3.5` to `v2.0.0` (`major`). See [Actions](https://github.com/lumirlumir/npm-clang-format-node/actions/runs/17721763440) for more details. | Info | Value | | ----------- | -------------------------- | | Repository | `lumirlumir/npm-clang-format-node` | | SEMVER | `major` | | Pre ID | `canary` | | Short SHA | 145e20b | | Old Version | `v1.3.5` | | New Version | `v2.0.0` | <!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 💥 BREAKING CHANGES * feat(deps)!: bump LLVM from llvmorg-19.1.7 to llvmorg-21.1.1 by @lumirlumir in #456 ### 🧰 Chores * chore(sync-server): synced file(s) with lumirlumir/lumirlumir-configs by @lumirlumir in #413 * chore(website): fix DocSearch button with border and transition effects by @lumirlumir in #415 * chore(sync-server): remove `CODE_OF_CONDUCT.md` in favor of centralized template by @lumirlumir in #419 * chore(*): bump `.nvmrc` to 20.19.4 from 20.18.0 by @lumirlumir in #427 * chore(sync-server): bump GitHub Actions version by @lumirlumir in #438 * chore(*): update root level node engine requirement to `>=20.19.4` by @lumirlumir in #446 * chore(sync-server): bump GitHub Actions versions by @lumirlumir in #454 * chore(*): enable strict type checking options in `tsconfig` by @lumirlumir in #455 ### 🔄 Continuous Integrations * ci(*): add support for LLVM 21 (`llvm-build-bump-pr`) by @lumirlumir in #394 ### 📝 Documentation * docs(*): remove `PULL_REQUEST_TEMPLATE.md` in favor of centralized template by @lumirlumir in #405 * docs(*): remove `ISSUE_TEMPLATE` in favor of centralized template by @lumirlumir in #417 * docs(*): update documentation to reflect the latest v2.0.0 release by @lumirlumir in #460 ### ⬆️ Dependency Updates * chore(deps-dev): bump editorconfig-checker from 6.0.1 to 6.1.0 by @dependabot[bot] in #407 * chore(deps-dev): bump form-data from 4.0.1 to 4.0.4 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #409 * chore(deps-dev): bump the bananass group across 1 directory with 2 updates by @dependabot[bot] in #411 * chore(deps-dev): bump `textlint-rule-allowed-uris` by @lumirlumir in #412 * chore(deps-dev): bump `vitepress` to `alpha` version by @lumirlumir in #414 * chore(deps-dev): bump eslint from 9.31.0 to 9.32.0 by @dependabot[bot] in #416 * chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 by @dependabot[bot] in #418 * chore(deps-dev): bump the bananass group across 1 directory with 2 updates by @dependabot[bot] in #420 * chore(deps-dev): bump lint-staged from 16.1.2 to 16.1.4 by @dependabot[bot] in #421 * chore(deps-dev): bump @types/node from 24.0.10 to 24.2.0 by @dependabot[bot] in #422 * chore(deps-dev): bump `textlint-rule-allowed-uris` and `eslint-plugin-mark` by @lumirlumir in #423 * chore(deps-dev): bump vitepress-plugin-group-icons from 1.6.1 to 1.6.3 by @dependabot[bot] in #429 * chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #430 * chore(deps-dev): bump vitepress from 2.0.0-alpha.9 to 2.0.0-alpha.11 by @dependabot[bot] in #432 * chore(deps-dev): bump the babel group across 1 directory with 3 updates by @dependabot[bot] in #431 * chore(deps-dev): bump lint-staged from 16.1.4 to 16.1.5 by @dependabot[bot] in #434 * chore(deps-dev): bump the bananass group across 1 directory with 2 updates by @dependabot[bot] in #435 * chore(deps-dev): bump eslint from 9.32.0 to 9.33.0 by @dependabot[bot] in #439 * chore(deps-dev): bump @types/node from 24.2.0 to 24.3.0 by @dependabot[bot] in #440 * chore(deps-dev): bump eslint from 9.33.0 to 9.34.0 by @dependabot[bot] in #443 * chore(deps-dev): bump concurrently from 9.2.0 to 9.2.1 by @dependabot[bot] in #445 * chore(deps): bump actions/attest-build-provenance from 2 to 3 by @dependabot[bot] in #447 * chore(deps-dev): bump lint-staged from 16.1.5 to 16.1.6 by @dependabot[bot] in #448 * chore(deps-dev): bump @types/node from 24.3.0 to 24.3.1 by @dependabot[bot] in #449 * chore(deps-dev): bump eslint from 9.34.0 to 9.35.0 by @dependabot[bot] in #453 * chore(deps-dev): bump @babel/core from 7.28.3 to 7.28.4 in the babel group across 1 directory by @dependabot[bot] in #452 * chore(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #451 * chore(deps-dev): bump the bananass group across 1 directory with 2 updates by @dependabot[bot] in #457 * chore(deps-dev): bump @types/node from 24.3.1 to 24.4.0 by @dependabot[bot] in #458 * chore(deps-dev): bump dependencies by @lumirlumir in #459 **Full Changelog**: v1.3.5...v2.0.0
This pull request tightens TypeScript compiler settings across the
clang-format-git-python
,clang-format-git
, andclang-format-node
packages. The main focus is enabling stricter type checking and initialization rules to improve code safety and reliability.TypeScript configuration improvements:
strict
mode,strictNullChecks
, andstrictPropertyInitialization
intsconfig.json
for all three packages to enforce stricter type safety and initialization checks.exactOptionalPropertyTypes
totrue
in all affectedtsconfig.json
files, ensuring more precise handling of optional properties.