-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
36 lines (36 loc) · 944 Bytes
/
.eslintrc.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
module.exports = {
parser: "babel-eslint",
extends: [
'airbnb',
],
rules: {
'semi': [1, 'never'],
'object-shorthand':0,
'no-trailing-spaces':0,
'no-plusplus':0,
'comma-dangle': 0,
'arrow-body-style': 0,
'prefer-destructuring': 0,
'import/first': 0,
'import/no-unresolved': 0,
'import/extensions': 0,
'import/prefer-default-export':0,
'import/no-extraneous-dependencies':0,
'object-curly-newline': 0,
'jsx-a11y/anchor-is-valid': 0,
'react/prefer-stateless-function': 0,
'react/react-in-jsx-scope': 0,
'react/jsx-filename-extension': 0,
'react/forbid-prop-types': 0,
'react/prop-types': 0,
'no-param-reassign': 0,
'global-require':0,
'arrow-parens':0,
'no-console': 1,
'keyword-spacing':1,
'eol-last':0,
'no-unused-vars':1,
'space-before-blocks':1,
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
},
}