forked from zesik/react-splitter-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
25 lines (25 loc) · 737 Bytes
/
.eslintrc.js
File metadata and controls
25 lines (25 loc) · 737 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
module.exports = {
'extends': 'airbnb',
'env': {
'browser': true,
'jest': true
},
'rules': {
'class-methods-use-this': [0],
'comma-dangle': [2, 'never'],
"function-paren-newline": [2, 'consistent'],
'max-len': [2, 120, 2, {
'ignoreUrls': true
}],
"no-confusing-arrow": [2, { "allowParens": true }],
'no-multiple-empty-lines': [1, { 'max': 1 }],
'no-plusplus': [0],
'object-curly-newline': [0],
'operator-linebreak': [2, 'after'],
'space-before-function-paren': [2, 'never'],
'react/destructuring-assignment': [0],
'react/no-did-mount-set-state': [0],
'react/jsx-one-expression-per-line': [0],
'jsx-a11y/no-noninteractive-element-interactions': [0]
}
};