forked from vicalejuri/iching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
100 lines (94 loc) · 2.36 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"parser": "babel-eslint",
"extends": ["eslint-config-airbnb","prettier"],
"env": {
"es6": true,
"browser": true,
"jasmine": true,
},
"settings": {
"import/resolver": {
"node": {
"paths": ["src"]
}
}
},
"rules": {
"strict": 0,
"prettier/semicolons": 0,
"prettier/prettier": "error",
"max-len": [0, 100],
"jsx-a11y/no-static-element-interactions": 0,
"quotes": 0,
"react/jsx-quotes": 0,
"jsx-quotes": [2, "prefer-double"],
"react/prefer-es6-class": [1, "always"],
"react/prefer-stateless-function": 1,
"react/no-string-refs": [0, "never"],
"react/jsx-filename-extension": [0],
"react/no-unused-prop-types": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/jsx-indent": 0,
"react/react-in-jsx-scope": 0,
"react/prop-types": 0,
"react/sort-comp": [1, {
"order": [
"lifecycle",
"state",
"render",
"everything-else"
]
}],
"react/jsx-first-prop-new-line": 0,
// Temporarirly disabled due to a possible bug in babel-eslint (todomvc example)
"block-scoped-var": 0,
// Temporarily disabled for test/* until babel/babel-eslint#33 is resolved
"padded-blocks": 0,
"no-console": 0,
"import/prefer-default-export": 0,
"newline-per-chained-call": 0,
"no-return-assign": 0,
"object-property-newline": 0,
"comma-dangle": 0,
"no-else-return": 0,
"no-unused-expressions": 0,
"class-methods-use-this": 0,
"no-multiple-empty-lines": 0,
"no-multi-spaces": 0,
"spaced-comment": 0,
"no-alert": 0,
"consistent-return": 0,
"no-debugger": 0,
"no-unused-vars": 0,
"key-spacing": 0,
"prefer-const": 0,
"comma-spacing": 0,
"func-names": 0,
"camelcase": 0,
"semi": 0,
"indent": 0,
"no-trailing-space": 0,
"object-curly-spacing": 0,
"space-in-parens": 0,
"react/jsx-no-bind": 1,
"react/jsx-indent-props": 0,
"react/jsx-closing-bracket-location": 0,
"react/no-multi-comp": 0,
"array-bracket-spacing": 0,
"no-throw-literal": 0,
},
"plugins": [
"react",
"prettier",
"jasmine",
],
"globals": {
"__PHONEGAP__": false,
"__DEVELOPMENT__": true,
"__CLIENT__": true,
"__SERVER__": true,
"__DISABLE_SSR__": true,
"__DEVTOOLS__": true
}
}