forked from osdio/react-native-html-render
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
47 lines (47 loc) · 1.01 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
{
"extends": "plugin:react-native/all",
"plugins": [
"react",
"react-native"
],
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"globals": {
"assert": true,
"expect": true,
"spies": true,
"__rootdir": true
},
"env": {
"amd": true,
"es6": true,
"node": true,
"mocha": true,
"mongo": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
"comma-dangle": 2,
"quotes": [2, "single"],
"no-undef": 2,
"global-strict": 0,
"no-extra-semi": 2,
"no-underscore-dangle": 0,
"no-console": 1,
"no-unused-vars": 2,
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"no-unreachable": 2,
"no-alert": 2,
"no-empty": 2,
"no-warning-comments": [1, { "terms": ["todo", "fixme"], "location": "anywhere" }],
"generator-star-spacing": [2, {"before": false, "after": true}],
"object-curly-spacing": [2, "always"],
"dot-notation": 2,
"valid-typeof": 2,
"arrow-parens": [2, "always"]
}
}