-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.cjs
29 lines (29 loc) · 945 Bytes
/
.eslintrc.cjs
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
module.exports = {
extends: [
'xo',
'xo-typescript',
],
plugins: [
'@typescript-eslint',
],
overrides: [],
rules: {
'@typescript-eslint/comma-dangle': ['error', 'always-multiline'],
'@typescript-eslint/object-curly-spacing': ['error', 'always'],
'@typescript-eslint/class-literal-property-style': ['error', 'fields'],
'@typescript-eslint/prefer-readonly': ['off'],
'@typescript-eslint/no-extraneous-class': ['off'],
'@typescript-eslint/member-ordering': ['off'],
'@typescript-eslint/array-type': ['error', { default: 'array' }],
'@typescript-eslint/no-empty-function': ['off'],
'operator-linebreak': ['error', 'before'],
'capitalized-comments': ['off'],
'accessor-pairs': ['off'],
'no-eq-null': ['off'],
eqeqeq: ['error', 'always', { null: 'ignore' }],
'no-await-in-loop': ['off'],
'arrow-parens': ['error', 'always'],
'@typescript-eslint/no-non-null-assertion': ['off'],
'new-cap': ['off'],
},
};