-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
28 lines (28 loc) · 1021 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
module.exports = {
root: true,
env: {
node: true,
jest: true,
browser: true,
},
extends: ['xo-space/esnext', 'xo-react/space', 'xo-typescript'],
rules: {
'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',
'no-warning-comments': 'off',
'complexity': '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',
},
};