-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
refactor: Upgrade ESLint #178
Conversation
Argh. It looks like the tests are intricately bound to the |
Okay, I just disabled the tests that relied on the project files as there were already comments indicating that we meant to fix/remove them. |
Changed the tag to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there's no need for these.
eslint-plugin-n
is already a dependency ofeslint-config-eslint
and enabled in it as pluginn
.- We can use the default
ecmaVersion: "latest"
sinceeslint-plugin-n
controls which features are available in the supported Node.js versions. eslint-plugin-jsdoc
'smode: "typescript"
is already set ineslint-config-eslint
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
* chore: Upgrade ESLint * Add back eslintignore * Skip tests relying on project files * Update eslint.config.js Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Update eslint.config.js Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Update eslint.config.js Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Update package.json Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Add formatting config --------- Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
Upgrades ESLint to v9 and fixes resulting linting errors.
This seemed like a necessary first step to address #177
Edit: It seems that the tests rely on the
.eslintignore
and.eslintrc.js
files, so need to leave those.