-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.cjs
41 lines (41 loc) · 962 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
30
31
32
33
34
35
36
37
38
39
40
41
module.exports = {
env: {
es2021: true,
node: true,
},
extends: [
"airbnb-base",
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: [
"@typescript-eslint",
],
rules: {
"max-classes-per-file": "off",
"class-methods-use-this": "off",
"no-empty-function": "off",
"no-unused-vars": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"no-underscore-dangle": "off",
"getter-return": "off",
"consistent-return": "off",
"no-useless-return": "off",
quotes: [
"error",
"double",
],
"lines-between-class-members": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"dot-notation": "off",
"import/no-dynamic-require": "off",
"global-require": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
},
};