-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (35 loc) · 1018 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
{
'env': {
'browser': true,
'mocha': true,
'node': true
},
'plugins': ['react'],
'parser': 'babel-eslint',
'rules': {
'quotes': [1, 'single', 'avoid-escape'],
'semi': [1, 'always'],
'no-undef': 2,
'no-unused-vars': 2,
'no-underscore-dangle': 0,
'no-use-before-define': 0,
'jsx-quotes': [1, 'prefer-double'],
'prefer-const': 2,
'comma-dangle': [2, 'never'],
'react/jsx-first-prop-new-line': [2, 'multiline'],
'react/prefer-stateless-function': 0,
'react/jsx-space-before-closing': [2, 'always'],
'react/prefer-es6-class': 0,
'react/prop-types': 2,
'react/self-closing-comp': 2,
'react/jsx-no-undef': 1,
'react/jsx-uses-react': 1,
'react/jsx-uses-vars': 1,
'react/jsx-boolean-value': [2, 'never'],
'react/jsx-closing-bracket-location': [2, 'tag-aligned'],
'react/jsx-equals-spacing': [1, 'never'],
'react/jsx-indent-props': [1, 2],
'react/jsx-indent': [1, 2],
'react/jsx-no-duplicate-props': 2,
}
}