-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
31 lines (30 loc) · 931 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
module.exports = {
extends: 'airbnb',
"plugins": [
"import",
"react"
],
parser: 'babel-eslint',
rules: {
'react/jsx-filename-extension': ['error', { extensions: ['.js', '.jsx'] }],
'import/prefer-default-export': 'off',
'dot-notation': 'off',
'arrow-parens': 'off',
'linebreak-style': 0,
'comma-dangle': 'off',
'no-plusplus': 'off',
'react/destructuring-assignment': 'off',
'prefer-destructuring': 'off',
'class-methods-use-this': 'off',
'max-len': 'off',
'react/prop-types': 'off',
'react/prefer-stateless-function': 'off',
'object-curly-newline': 'off',
'consistent-return': 'off',
'no-mixed-operators': ["error", {"allowSamePrecedence": true}],
'brace-style': ["error", "stroustrup"],
"no-param-reassign": 0,
"import/no-self-import": 1,
"import/no-cycle": 1
},
};