-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
38 lines (38 loc) · 986 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
{
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"global-require": "off",
"no-confusing-arrow": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"one-var-declaration-per-line": "off",
"one-var": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": [1, { "ignore": ["^[~]"] }],
"import/prefer-default-export": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/forbid-prop-types": "off",
"react/no-danger": "off",
"react/prefer-es6-class": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
},
"settings": {
"import/resolver": {
"babel-module": {},
"babel-root-import": {},
"node": {
"extensions": [".js", ".json", ".android.js", ".ios.js", ".native.js", ".rn.js"]
}
}
}
}