Upgrade eslint from v9 -> v10 in the node driver

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Dependencies
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a mongodb node driver developer
      I want to use the latest major version of eslint (v10)
      So that compatible plugins and dependent packages can be updated, promoting maintainability

      User Experience

      • eslint checks should pass with the same rule parity following the v9 non-flat configuration file

      Dependencies

      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 (prettier, tsdoc, simple-import-sort, etc)

      Acceptance Criteria

      Implementation Requirements

      Testing Requirements

      • Compare verbose output of main eslint checks to new v10 eslint checks, ensure all files are covered
      • Smoke test rule changes actually are actually emitting errors/warns

      Documentation Requirements

      • N/A

      Follow Up Requirements

            Assignee:
            Unassigned
            Reporter:
            Johnathan Martell
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: