-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
52 lines (52 loc) · 1.23 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
module.exports = {
env: {
browser: true,
},
extends: [
'plugin:react/recommended',
'plugin:prettier/recommended',
'airbnb',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2020,
sourceType: 'module',
allowImportExportEverywhere: true,
},
plugins: ['react', 'prettier'],
rules: {
'max-len': [
'error',
{
code: 80,
ignoreUrls: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
},
],
'object-curly-newline': ['error', { consistent: true }],
'no-unused-vars': 0,
indent: 0,
'comma-dangle': 0,
'linebreak-style': 0,
'no-tabs': 0,
'import/no-unresolved': 0,
'react/jsx-filename-extension': 0,
'react/jsx-indent': 0,
'react/jsx-indent-props': 0,
'react/jsx-props-no-spreading': 0,
'react/jsx-one-expression-per-line': 0,
'jsx-a11y/anchor-is-valid': 0,
'jsx-a11y/accessible-emoji': 0,
'jsx-a11y/label-has-associated-control': 0,
'import/no-named-as-default': 0,
'import/no-named-as-default-member': 0,
'operator-linebreak': 0,
'react/prop-types': 0,
'react/react-in-jsx-scope': 0,
'react/jsx-uses-react': 0,
'react/jsx-fragments': 0,
},
};