Upgrade Eslint v9 -> v10

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a developer
      I want all node team repos to use eslint v10
      So that code can continue to be uniformly formatted to industry standard

      User Experience

      • All node team repo's should share similar linting policies and be able to receive incoming dependabot updates

      Dependencies

      • Timelines: Currently, eslint v9 is EOL, so we should consider addressing this soon, but not urgently.

      Risks/Unknowns

      • Incoming linter rule changes as a consequence of the v9 -> v10 upgrade risk necessitating production code changes. It's very likely that all code changes will be superficial refactors however.

      Acceptance Criteria

      Implementation Requirements

      • Eslint v10 should be the current version of these repos:
        kerberos, zstd, mongodb-connection-string-url, js-bson, node-mongodb-native, mongodb-client-encryption 
      • Eslint v9 requires migrating to a flat config file (see: https://jira.mongodb.org/browse/NODE-6314 for details)

      Testing Requirements

      • tests may need to be updated to satisfy incoming linting rules

      Documentation Requirements

      • N/A

      Follow Up Requirements

      • None

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

              Created:
              Updated: