-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc-bkp.js
More file actions
35 lines (35 loc) · 946 Bytes
/
Copy path.eslintrc-bkp.js
File metadata and controls
35 lines (35 loc) · 946 Bytes
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
module.exports = {
'extends': 'airbnb',
'parser': 'babel-eslint',
'env': {
'jest': true,
},
'rules': {
'no-use-before-define': 'off',
'react/jsx-filename-extension': 'off',
'react/prop-types': 'off',
'comma-dangle': 'off',
"linebreak-style": 'off',
"react/jsx-indent" : ["error", 'tab'],
"jsx-quotes": ["error", "prefer-single"],
"indent": ["error", "tab"],
"no-tabs" : 0,
"arrow-body-style": 0,
"semi": 0,
"arrow-parens": 0,
"eol-last": 0,
"arrow-spacing":0,
"react/no-array-index-key":0,
"react/jsx-indent-props":["error", 'tab'],
"camelcase":0,
"max-len":['error', 150],
"no-param-reassign": ["error", { "props": false }],
"import/prefer-default-export" : "error",
"no-trailing-spaces": ['error', {skipBlankLines:true, ignoreComments:true}],
"object-curly-newline": ["error", { multiline: true, consistent: true }],
"react/jsx-props-no-spreading": 0,
},
'globals': {
"fetch": false
}
}