-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
22 lines (22 loc) · 869 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
module.exports = {
extends: ['prettier/react', 'prettier/standard', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['react', 'react-hooks', 'import', 'prettier', 'standard', '@typescript-eslint'],
rules: {
quotes: [2, 'single'],
semi: [2, 'always'],
'comma-dangle': [2, 'never'],
'no-trailing-spaces': [2],
'jsx-quotes': ['error', 'prefer-single'],
'react-hooks/rules-of-hooks': 'error',
'react/jsx-boolean-value': [0],
'prettier/prettier': 2,
'space-before-function-paren': 0,
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-var-requires': 'off'
}
};