-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc.js
35 lines (35 loc) · 969 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
module.exports = {
env: {
jest: true,
},
parser: 'babel-eslint',
extends: ['airbnb', 'plugin:prettier/recommended'],
plugins: ['prettier'],
rules: {
'prettier/prettier': [
'error',
{
singleQuote: true,
bracketSpacing: true,
trailingComma: 'es5',
semi: false,
},
],
'react/prefer-stateless-function': 'off',
'react/prop-types': 'off',
'react/jsx-filename-extension': 'off',
'react/jsx-closing-tag-location': 'off',
'react/no-multi-comp': 'off',
'no-use-before-define': 'off',
'no-param-reassign': 'off',
'react/jsx-closing-bracket-location': 'off',
'react/jsx-curly-spacing': 'off',
'react/jsx-equals-spacing': 'off',
'react/jsx-first-prop-new-line': 'off',
'react/jsx-indent': 'off',
'react/jsx-indent-props': 'off',
'react/jsx-max-props-per-line': 'off',
'react/jsx-tag-spacing': 'off',
'react/jsx-wrap-multilines': 'off',
},
}