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

Upgraded to eslint v9 with flat file config #344

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Conversation

lempira
Copy link
Contributor

@lempira lempira commented Nov 26, 2024

I upgraded the eslint to v9 flat file config. I had to remove the makerx/eslint-config because it's not in the flat file format. I took the rules and plugins and put them in this new config. There were several unused eslint rules after I made the change. These are most of the unused rules that I had to remove. We are using the recommended tseslint rules and these are found in either the "strict" or "stylistic" rulesets. There were several no-non-null-assertions that I removed. I think it's better to handle those non-null values but I don't know the code enough to make that call. They could be ok.

Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-empty-function')
Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-explicit-any')
Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-non-null-assertion')
Unused eslint-disable directive (no problems were reported from 'no-console')
Unused eslint-disable directive (no problems were reported from 'no-constant-condition')
Unused eslint-disable directive (no problems were reported from 'no-param-reassign')

@lempira lempira requested a review from neilcampbell November 26, 2024 02:16
@lempira lempira merged commit e767a1d into main Nov 27, 2024
2 checks passed
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.

2 participants