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

Disable unused imports/ vars/ params in TypeScript compiler, opt for ESLint instead #11125

Merged
merged 3 commits into from
Jul 31, 2024

Conversation

peterp
Copy link
Contributor

@peterp peterp commented Jul 31, 2024

When I'm coding against the framework I'm often leaving the files in a "dirty state" in order to validate an idea. They're not logical errors, but merely unused imports, variables and parameters. This often leaves me having to comment out large swathes of code to test my idea and slows me down!

I polled the core contributors and the majority agreed that this would be helpful, so in this PR I disable the unused variable checking in TypeScript and make ESLint check for it instead.

@peterp peterp added the release:chore This PR is a chore (means nothing for users) label Jul 31, 2024
@peterp peterp added this to the chore milestone Jul 31, 2024
@peterp peterp enabled auto-merge (squash) July 31, 2024 11:16
@peterp peterp merged commit 7e6c7bc into main Jul 31, 2024
50 of 54 checks passed
@peterp peterp deleted the pp-conditionally-disable-eslint branch July 31, 2024 11:21
@Josh-Walker-GM Josh-Walker-GM modified the milestones: chore, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants