Skip to content

Commit

Permalink
Upgrade to ESLint v9 (#10846)
Browse files Browse the repository at this point in the history
closes: #10642

## Description
Updates ESLint to v9. Doing so deprecates the use of `.eslintrc` and `eslintignore` and moves all these configuration options into a flat config file, `eslint.config.mjs`. As part of this change, we also needed to update the github eslint plugin as well as the `jessie.js` eslint plugin. Most of the rules were migrated successfully, but I had to modify a few rules since ESLint v9 comes with a few default behavior changes.

### Security Considerations


N/A

### Scaling Considerations


N/A

### Documentation Considerations


Here's a breakdown of the breaking changes that come with ESLint v9. https://eslint.org/docs/latest/use/migrate-to-9.0.0#-varsignorepattern-option-of-no-unused-vars-no-longer-applies-to-catch-arguments.

### Testing Considerations


I modified our `yarn lint` command so I could individually run and view the error of each package. Doing so allowed me to debug every single error that occured after the ugprade and make changes to restore expected behavior.

### Upgrade Considerations


N/A
  • Loading branch information
mergify[bot] authored Jan 23, 2025
2 parents b78165c + 6bd3574 commit c9a663b
Show file tree
Hide file tree
Showing 21 changed files with 645 additions and 593 deletions.
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

288 changes: 0 additions & 288 deletions .eslintrc.cjs

This file was deleted.

Loading

0 comments on commit c9a663b

Please sign in to comment.