[waiting on dependency release] Upgrade eslint from v9 -> v10 in js-bson

XMLWordPrintableJSON

    • 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

      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

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

              Created:
              Updated:
              Resolved: