-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
39 lines (39 loc) · 1.52 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
module.exports = {
root: true,
env: {
node: true,
jest: true,
browser: true,
},
extends: ['xo-space', 'xo-react/space', 'xo-typescript'],
rules: {
'@typescript-eslint/object-curly-spacing': ['error', 'always'],
'@typescript-eslint/indent': ['error', 2, { SwitchCase: 1 }],
'@typescript-eslint/explicit-function-return-type': 'off',
'capitalized-comments': 'off',
'comma-dangle': ['error', 'always-multiline'],
'react/jsx-tag-spacing': 'off',
'react/prop-types': 'off',
'react/require-default-props': 'off',
'no-warning-comments': 'off',
complexity: 'off',
'jsx-quotes': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/no-unnecessary-condition': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/prefer-readonly-parameter-types': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/comma-dangle': 'off',
'@typescript-eslint/no-confusing-void-expression': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-unnecessary-type-arguments': 'off',
'@typescript-eslint/quotes': 'off',
'@typescript-eslint/indent': 'off',
'operator-linebreak': 'off',
'react/no-unknown-property': ['error', { ignore: ['css'] }],
},
};