forked from NightScript370/apptentive-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 730 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
{
"extends": [
"airbnb",
"plugin:react/all",
"plugin:react-native/all"
],
"plugins": [
"react",
"react-native"
],
"ecmaFeatures": {
"jsx": true
},
"env": {
"es6": true,
"react-native/react-native": true
}, # Custom Disabled Rules
rules: {
camelcase: 0,
max-len: 0,
comma-dangle: ['error', {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "ignore",
"exports": "ignore",
"functions": "ignore",
}],
no-restricted-syntax: [
'error',
'ForOfStatement',
'LabeledStatement',
'WithStatement',
],
"security/detect-object-injection": 0,
"object-curly-newline": 0
}
}