forked from inkitt/react-native-queue-asyncstorage
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
64 lines (64 loc) · 1.46 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
}
}
},
"extends": ["airbnb", "prettier", "prettier/react"],
"rules": {
"class-methods-use-this": 0,
"no-bitwise": 0,
"no-console": "off",
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "navigationOptions"
}
],
"no-underscore-dangle": "off",
"no-prototype-builtins": 0,
"react/jsx-no-bind": 1,
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"react/forbid-prop-types": 0,
"react/prop-types": 0,
"react/no-danger": 0,
"react/no-string-refs": 0,
"no-shadow": "off",
"react/prefer-stateless-function": 0,
"react/no-did-mount-set-state": 0,
"react/jsx-props-no-spreading": 0,
"semi": ["error", "never"],
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/mouse-events-have-key-events": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0
},
"plugins": ["prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"impliedStrict": true,
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
}
}