-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
33 lines (33 loc) · 874 Bytes
/
.eslintrc.js
File metadata and controls
33 lines (33 loc) · 874 Bytes
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
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ['plugin:react/recommended', 'airbnb'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: ['react', '@typescript-eslint'],
rules: {
'implicit-arrow-linebreak': 0,
'import/extensions': 0,
'import/no-extraneous-dependencies': 0,
'import/no-unresolved': 0,
'import/prefer-default-export': 0,
'max-len': [2, { code: 110 }],
'no-unused-vars': 0,
'no-use-before-define': 0,
'object-curly-newline': 0,
'operator-linebreak': 0,
'react/button-has-type': 0,
'react/jsx-filename-extension': [2, { extensions: ['.jsx', '.tsx'] }],
'react/prop-types': 0,
'jsx-a11y/label-has-associated-control': 0,
'linebreak-style': 0,
},
};