-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
35 lines (35 loc) · 970 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: {
browser: true,
es2021: true,
},
extends: ['prettier', 'plugin:react/recommended', 'airbnb'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: ['prettier', 'react', '@typescript-eslint'],
rules: {
'prettier/prettier': 'error',
'react/react-in-jsx-scope': 'off',
'react/jsx-filename-extension': 'off',
'import/no-unresolved': 'off',
'import/extensions': 'off',
'no-plusplus': 'off',
'implicit-arrow-linebreak': 'off',
indent: 'off',
'object-curly-newline': 'off',
'react/destructuring-assignment': 'off',
'react/function-component-definition': 'off',
'no-param-reassign': 'off',
'import/prefer-default-export': 'off',
'no-underscore-dangle': 'off',
'no-use-before-define': 'off',
'no-unused-vars': 'off',
'no-useless-constructor': 'off',
},
};