forked from StephenGrider/ESLint-Rallycoding
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
59 lines (59 loc) · 1.29 KB
/
index.js
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
module.exports = {
extends: [
'./rules/best-practices',
'./rules/errors',
'./rules/es6',
'./rules/imports',
'./rules/node',
'./rules/react-a11y',
'./rules/react',
'./rules/strict',
'./rules/style',
'./rules/variables'
].map(require.resolve),
parserOptions: {
ecmaFeatures: {
experimentalObjectRestSpread: true
},
ecmaVersion: 7,
sourceType: 'module'
},
plugins: [
'babel'
],
env: {
browser: true,
jest: true,
serviceworker: true
},
parser: 'babel-eslint',
rules: {
strict: 0,
'react/jsx-no-bind': 0,
indent: 0,
'react/prefer-es6-class': 0,
'react/jsx-uses-react': 2,
'react/jsx-uses-vars': 2,
'react/react-in-jsx-scope': 2,
'react/jsx-indent': 0,
'react/no-string-refs': 0,
'react/jsx-filename-extension': 0,
'react/jsx-indent-props': 0,
'react/prop-types': 0,
'react/no-did-mount-set-state': 0,
'react/prefer-stateless-function': 0,
'no-trailing-spaces': 0,
'import/prefer-default-export': 0,
'id-length': 0,
'comma-dangle': 0,
'func-names': 0,
'consistent-return': 0,
'no-use-before-define': 0,
'no-debugger': 0,
'spaced-comment': 0,
'no-console': 0,
'no-alert': 0,
'linebreak-style': 0,
'babel/new-cap': 0
}
};