Skip to content
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 typescript compilation #200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

43081j
Copy link
Contributor

@43081j 43081j commented Jan 9, 2025

Enables most of what's in the unjs tsconfig template, plus the following:

  • noUnusedLocals
  • noUnusedParameters

i didn't take the entire unjs template because it'd mean changing the module/moduleResolution/moduleDetection

@pi0 almost all of the casts are because noUncheckedIndexedAccess is true. we can turn it off if you think we will do that quite often (e.g. when we check length of something, we know it then has [0] but typescript doesn't)

Enables most of what's in the unjs tsconfig template, plus the
following:

- `noUnusedLocals`
- `noUnusedParameters`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant