-
Notifications
You must be signed in to change notification settings - Fork 43
/
.eslintrc
28 lines (28 loc) · 769 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
{
"settings": {
"import/resolver": "webpack",
"react": {
"createClass": "createReactClass",
"pragma": "React",
"version": "16.2.0"
},
"propWrapperFunctions": ["forbidExtraProps"]
},
"extends": ["react-app", "plugin:prettier/recommended"],
"rules": {
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/no-extraneous-dependencies": 0
},
"parserOptions": {
"ecmaVersion": 7,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"experimentalDecorators": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["eslint-plugin-react"]
}