-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.eslintrc.json
39 lines (38 loc) · 941 Bytes
/
.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
{
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
},
"extends": ["eslint:recommended"],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"plugins": ["jest"],
"rules": {
"comma-spacing": ["off"],
"indent": ["off", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"no-console": ["off"],
"no-unused-vars": [
"off",
{
"argsIgnorePattern": "^_|[Ii]gnored",
"varsIgnorePattern": "^_|[Ii]gnored|[Nn]otUsed"
}
],
"react/jsx-no-bind": ["off"],
"react/jsx-uses-vars": ["error"],
"react-native/no-inline-styles": ["off"],
"react-native/no-unused-styles": ["off"],
"react-native/split-platform-components": ["error"],
"semi": ["off", "always"],
"react/prop-types": ["off"],
"no-undef": ["off"]
}
}