-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
62 lines (62 loc) · 1.49 KB
/
.eslintrc.json
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"extends": ["airbnb", "react-app", "prettier", "prettier/react", "plugin:react/recommended"],
"root": true,
"plugins": ["import", "babel", "react", "prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"settings": {
"react": {
"version": "16.8"
},
"import/resolver": {
"node": {
"moduleDirectory": ["node_modules", "/"]
}
}
},
"env": {
"es6": true,
"jest": true,
"browser": true,
"node": true
},
"globals": {
"DEBUG": false
},
"rules": {
"import/no-named-as-default": 0,
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"import/prefer-default-export": 0,
"import/first": 0,
"indent": "off",
"no-tabs": "off",
"semi": "off",
"quotes": ["error", "single"],
"no-mixed-spaces-and-tabs": "off",
"no-underscore-dangle": "off",
"class-methods-use-this": "off",
"max-len": "off",
"react/no-typos": "off",
"react/destructuring-assignment": "off",
"react/sort-comp": "off",
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/media-has-caption": "off"
}
}