-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
33 lines (32 loc) · 875 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
const OFF = 0;
const ON = 2;
module.exports = {
extends: 'airbnb',
env: {
browser: true,
},
parser: 'babel-eslint',
rules: {
'react/jsx-one-expression-per-line': OFF,
'react/no-unescaped-entities': OFF,
'react/no-array-index-key': OFF,
'arrow-body-style': OFF,
'arrow-parens': [ON, 'always'],
'react/jsx-filename-extension': OFF,
'react/prefer-stateless-function': OFF,
'import/no-unresolved': OFF,
'import/prefer-default-export': OFF,
'object-curly-newline': OFF,
'implicit-arrow-linebreak': OFF,
indent: OFF,
'operator-linebreak': OFF,
'no-nested-ternary': OFF,
'comma-dangle': OFF,
'react/jsx-closing-bracket-location': OFF,
'react/sort-comp': OFF,
'lines-between-class-members': OFF,
'react/forbid-prop-types': OFF,
'no-confusing-arrow': OFF,
'import/order': OFF,
},
};