forked from tachyons-css/react-native-style-tachyons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
82 lines (78 loc) · 2.15 KB
/
.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
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"parser": "babel-eslint",
"extends": [
"eslint:all",
"plugin:react/all",
"plugin:import/errors",
"plugin:import/warnings"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [
"react"
],
"settings": {
"import/resolver": {
"node": {
"moduleDirectory": ["node_modules", "src", "test"]
}
},
"import/ignore": [
"node_modules"
]
},
"rules": {
"sort-keys": 0,
"camelcase": 0,
"no-magic-numbers": 0,
"id-length": 0,
"semi": 0,
"object-curly-newline": 0,
"padded-blocks": 0,
"one-var": 0,
"sort-imports": 0,
"max-statements": 0,
"max-len": 0,
"space-before-function-paren": 0,
"require-jsdoc": 0,
"func-names": 0,
"func-style": 0,
"no-use-before-define": 0,
"no-plusplus": 0,
"prefer-destructuring": 0,
"max-lines-per-function": 0,
"react/jsx-filename-extension": 0,
"react/prefer-stateless-function": 0,
"react/class-methods-use-this": 0,
"react/jsx-sort-props": 0,
"quote-props": [2, "as-needed"],
"arrow-spacing": [2, { "before": true, "after": true }],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-spacing": [2, { "before": false, "after": true }],
"dot-location": [2, "property"],
"object-curly-spacing": [2, "always"],
"arrow-parens": [2, "as-needed"],
"react/jsx-indent": [2, 4],
"react/jsx-first-prop-new-line": [2, "multiline-multiprop"],
"react/jsx-wrap-multilines": [2, {
"declaration": "parens",
"assignment": "parens",
"return": "parens",
"arrow": "parens-new-line",
"condition": "ignore",
"logical": "ignore",
"prop": "ignore"
}]
}
}