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

new rule: no-invalid-types #323

Open
Tracked by #286
boneskull opened this issue Aug 24, 2023 · 0 comments
Open
Tracked by #286

new rule: no-invalid-types #323

boneskull opened this issue Aug 24, 2023 · 0 comments
Labels
enhancement New feature or request rules related to rules or linting

Comments

@boneskull
Copy link
Owner

boneskull commented Aug 24, 2023

This would check a .d.ts file (the file pointed to by the types field in package.json or the types conditional export(s)) to make sure passes strict mode checks.

I don't think we need to use tsconfig.json to validate this, but we could allow overrides of compilerOptions anyhow.

@boneskull boneskull mentioned this issue Aug 24, 2023
8 tasks
@boneskull boneskull added the enhancement New feature or request label Aug 24, 2023
@boneskull boneskull changed the title if types are provided, ensure they pass a lib check new rule: no-invalid-types Aug 24, 2023
@boneskull boneskull added the rules related to rules or linting label Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rules related to rules or linting
Projects
None yet
Development

No branches or pull requests

1 participant