-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
39 lines (39 loc) · 985 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
36
37
38
39
module.exports = {
env: {
browser: true,
es6: true,
},
extends: 'airbnb',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2019,
},
plugins: ['react'],
rules: {
quotes: ['error', 'single'],
'no-shadow': 'off',
'operator-linebreak': 'off',
'no-underscore-dangle': 'off',
'implicit-arrow-linebreak': 'off',
'function-paren-newline': 'off',
'no-console': ['error', { allow: ['warn', 'error', 'info'] }],
'no-use-before-define': 'off',
'arrow-body-style': 'off',
'arrow-parens': 'off',
'react/prop-types': 'off',
'react/jsx-props-no-spreading': 'off',
'import/prefer-default-export': 'off',
'object-curly-newline': 'off',
'no-plusplus': 'off',
'import/no-extraneous-dependencies': 'off',
'react/jsx-one-expression-per-line': 'off',
},
};