forked from openedx/frontend-app-learner-portal-programs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 757 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"extends": "@edx/eslint-config",
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": ["config/*.js", "**/*.test.jsx", "**/*.test.js"]
}
],
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["to"]
}
],
"jsx-a11y/label-has-for": [
"error",
{
"required": {
"every": ["nesting", "id"]
},
"allowChildren": true
}
]
},
"env": {
"jest": true
},
"globals": {
"newrelic": false
}
}