-
Type:
Task
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
-
None
sourced from: https://github.com/mongodb-js/mongodb-connection-string-url/pull/129
Use Case
As a mongodb developer
I want to use v10 of eslint
So that code can continue to be maintainable
User Experience
- eslint checks should pass with the same rule parity following the v9 non-flat configuration file
Dependencies
- Updating to this dependency either requires dropping `eslint-plugin-import` as a dependency, or waiting for its next release to roll out (which introduces support for eslint v10)
Risks/Unknowns
- A simple transition could cause a lack of parity with v9 rules to source code (e.g: an added rule in v10 which supplants a rule in v9, might require source code changes), this is acceptable for tests, but not for source (ie: no breaking change should need be introduced)
- Dissimilar linting between repo's
- Other plugin incompatibility discoveries
Acceptance Criteria
Implementation Requirements
- v10 of eslint requires a [flat configuration file|https://eslint.org/docs/latest/use/configure/migration-guide]]
- After this change, eslint should pass all repo linting scriptsÂ
- .eslintignore will be supplanted by ["ignores" in the new eslint config|https://eslint.org/docs/latest/use/configure/ignore]
Testing Requirements
- Compare verbose output of main eslint checks to new v10 eslint checks, ensure all files are covered
- Smoke test rule changes to ensure they are actually emitting errors/warns
Documentation Requirements
- N/A
Follow Up Requirements
- is cloned by
-
NODE-7825 [connstr] upgrade eslint v9 -> v10
-
- Ready for Work
-