-
Notifications
You must be signed in to change notification settings - Fork 437
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
[FEATURE REQUEST] Modernize ESLint #1625
Comments
All of this sounds sensible to me! Looking forward to see pull requests for this coming in. 🙇♂️ |
👍
I don't quite remember why I enabled specific rules instead of using one of the presets. I guess switching to a pre-set could help me remember why we didn't use one in the first place. 😅
Yeah, if we can do that, that would be great. Would definitely make it easier for people that use VS Code / Codespaces to work on tedious. |
PR Part 1 is up, let me know what you all think #1631 :-) |
Got the error count down to ~150 with 50 auto-fixable. The config is now almost identical to your original config. It appears that some of the new issues that are bubbling up are due to updated rulesets because of the updated packages. |
Is your feature request related to a problem? If so, please give a brief summary of the problem and how the feature would resolve it
ESLint is moving to the new flat file config spec and the current
*eslint*
file set that you are using is deprecated.Additionally, are all the rules that are currently set the set of rules that you want to keep?
You don't have the typed strict rules enabled which can pair down your existing ruleset by having the best practices enforced by the linter automatically without having to explicitly configure every rule.
Also, some of your style rules are not natively supported by VS Code auto formatting, would you like to align your linting config to VS Code's auto formatting for:
spaces
,commas
,brackets
,new line
and other built-in formatters?I can closely match your current styles, there are just some semi colons that aren't fully supported in VS Code.
We can also enforce more auto styling in VS Code if this is something you want to do as you only do a subset of stylization at the moment.
Describe the preferred solution
Describe alternatives you've considered
Not updating deps? (bad practice)
Additional context
https://typescript-eslint.io/blog/announcing-typescript-eslint-v7
https://eslint.org/blog/2024/04/eslint-v9.0.0-released/
Rulesets:
https://typescript-eslint.io/getting-started/#additional-configs
Reference Documentations/Specifications
https://eslint.org/docs/latest/use/configure/configuration-files
The text was updated successfully, but these errors were encountered: