-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Eslint was updated from v6 to v8. Since we have multiple apps depending on frontend-build, with this upgrade these apps could end up having linting issues.
- Loading branch information
1 parent
ecdea39
commit 0c03c44
Showing
9 changed files
with
2,037 additions
and
2,977 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
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 |
---|---|---|
@@ -1,32 +1,35 @@ | ||
module.exports = { | ||
"extends": "@edx/eslint-config", | ||
"parser": "babel-eslint", | ||
"rules": { | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
extends: '@edx/eslint-config', | ||
parser: '@babel/eslint-parser', | ||
parserOptions: { | ||
requireConfigFile: false, | ||
}, | ||
rules: { | ||
'import/no-extraneous-dependencies': [ | ||
'error', | ||
{ | ||
"devDependencies": [ | ||
"**/*.config.*", | ||
"**/*.test.*", | ||
"**/setupTest.js", | ||
devDependencies: [ | ||
'**/*.config.*', | ||
'**/*.test.*', | ||
'**/setupTest.js', | ||
], | ||
} | ||
}, | ||
], | ||
"import/no-unresolved": [ | ||
"error", | ||
'import/no-unresolved': [ | ||
'error', | ||
{ | ||
"ignore": [ | ||
"env.config" | ||
] | ||
} | ||
ignore: [ | ||
'env.config', | ||
], | ||
}, | ||
], | ||
// https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/340#issuecomment-338424908 | ||
"jsx-a11y/anchor-is-valid": [ "error", { | ||
"components": [ "Link" ], | ||
"specialLink": [ "to" ] | ||
'jsx-a11y/anchor-is-valid': ['error', { | ||
components: ['Link'], | ||
specialLink: ['to'], | ||
}], | ||
}, | ||
"globals": { | ||
"newrelic": false | ||
} | ||
} | ||
globals: { | ||
newrelic: false, | ||
}, | ||
}; |
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const config = require('../config/.eslintrc.js'); | ||
const config = require('../config/.eslintrc'); | ||
|
||
module.exports = config; |
Oops, something went wrong.