This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc
88 lines (80 loc) · 1.61 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
---
parser: babel-eslint
parserOptions:
ecmaFeatures:
experimentalObjectRestSpread: true
jsx: true
sourceType: "module"
plugins:
- react
env:
browser: true
node: true
es6: true
globals:
__DEV__: true
__THEME__: true
__DEV_MODE__: true
__SOCKET_HOST__: true
IntlPolyfill: true
Modernizr: true
describe: true
it: true
beforeEach: true
afterEach: true
before: true
after: true
rules:
# ERRORS
space-before-blocks: 2
indent: [2, 2, { SwitchCase: 1 }]
brace-style: 2
comma-dangle: 2
no-unused-expressions: 2
eol-last: 2
dot-notation: 2
no-unused-vars: [2, args: none]
semi: [2, "always"]
max-len: 2
# DISABLED
#change soon back to max-len: [1, 80]
no-underscore-dangle: 0
new-cap: 0
no-use-before-define: 0
key-spacing: 0
eqeqeq: 0
strict: 0
space-unary-ops: 0
yoda: 0
no-loop-func: 0
no-trailing-spaces: 0
no-multi-spaces: 0
no-shadow: 0
no-alert: 0
no-process-exit: 0
no-extend-native: 0
block-scoped-var: 0
quotes: 0
jsx-quotes: 0
consistent-return: 0
# REACT DISABLED
react/display-name: 0
react/jsx-sort-prop-types: 0
react/prop-types: 0
react/no-did-mount-set-state: 0
react/no-did-update-set-state: 0
react/jsx-max-props-per-line: 0
react/jsx-sort-props: 0
react/no-multi-comp: 0
react/jsx-boolean-value: 0
react/no-danger: 0
react/jsx-curly-spacing: 1
react/jsx-no-duplicate-props: 1
react/jsx-no-undef: 1
react/jsx-uses-react: 1
react/jsx-uses-vars: 1
react/no-unknown-property: 1
react/react-in-jsx-scope: 1
react/self-closing-comp: 1
react/sort-comp: 1
react/jsx-wrap-multilines: 1