-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rules): Upgrade rules format for eslint 8.x, with full schemas
BREAKING CHANGE: `absolute-or-current-dir` configuration no longer takes regular expressions, only strings
- Loading branch information
1 parent
d8da28e
commit eb8e960
Showing
16 changed files
with
1,447 additions
and
2,649 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -18,4 +18,4 @@ jobs: | |
- ~/.npm | ||
- run: | ||
name: Run tests | ||
command: npm run ci | ||
command: npm run test |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
coverage | ||
!.eslintrc.js | ||
test/end-to-end |
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 |
---|---|---|
@@ -1,19 +1,12 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
extends: [ | ||
'@scottnonnenberg/thehelp/core', | ||
], | ||
|
||
settings: { | ||
'import/resolver': { | ||
node: { | ||
paths: [__dirname], | ||
}, | ||
}, | ||
env: { | ||
commonjs: true, | ||
node: true, | ||
}, | ||
|
||
rules: { | ||
'security/detect-object-injection': 'off', | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
], | ||
}; |
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.