-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump eslint from 8.57.0 to 9.0.0 (#681)
* Bump eslint from 8.57.0 to 9.0.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.0.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.0...v9.0.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * migrate to 9.0 * add config file * try ignore glob matching * just hard code the one file we're linting * regen yarn lock after merge conflicts * eslint ignore patterns be confusing * make config module and remove unnecessary plugin * add new config file * lint touchpoints form too * unexport touchpoints form --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bob Zhao <[email protected]>
- Loading branch information
1 parent
60d1029
commit 185bb7e
Showing
6 changed files
with
97 additions
and
146 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import globals from "globals"; | ||
import js from '@eslint/js'; | ||
|
||
export default [ | ||
{ | ||
files:["assets/**/*.js"], | ||
languageOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: "module", | ||
globals: { | ||
...globals.browser, | ||
} | ||
}, | ||
...js.configs.recommended | ||
}, | ||
{ | ||
ignores: [ | ||
"**/uswds*.js", | ||
"**/main.js", | ||
"**/anchor*.js", | ||
], | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.