-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
40 lines (40 loc) · 1.02 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
40
module.exports = {
env: {
es2021: true,
node: true,
},
extends: [
'airbnb-base',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
rules: {
'import/extensions': 0,
'import/no-unresolved': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/no-empty-interface': 0,
'max-classes-per-file': ['error', 3],
'no-restricted-syntax': 0,
'no-param-reassign': 0,
'operator-linebreak': 0,
'no-useless-constructor': 0,
'no-plusplus': 0,
'no-new': 0,
'max-len': ['error', { code: 115, tabWidth: 2 }],
'arrow-body-style': 0,
'no-nested-ternary': 0,
indent: 0,
'no-shadow': 0,
'object-curly-newline': 0,
'no-underscore-dangle': 0,
'lines-between-class-members': 0,
camelcase: 0,
},
};