-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.eslintrc.json
More file actions
39 lines (39 loc) · 907 Bytes
/
.eslintrc.json
File metadata and controls
39 lines (39 loc) · 907 Bytes
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
{
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8
},
"globals": {
"env": true
},
"extends": ["airbnb", "prettier"],
"rules": {
"linebreak-style": "off",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"jsx-a11y/anchor-is-valid": [ "error", {
"components": ["Link"],
"specialLink": ["to", "hrefLeft", "hrefRight"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}],
"react/sort-comp": "off"
},
"settings": {
"import/resolver": {
"alias": {
"map": [
["Components", "./src/components/"],
["Pages", "./src/pages/"],
["Models", "./src/models/"],
["Services", "./src/services/"],
["Config", "./config/"]
],
}
}
}
}