-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
36 lines (36 loc) · 1.09 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
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.json"],
},
rules: {
"@typescript-eslint/ban-types": 0,
"no-console": 0,
"promise/catch-or-return": 0,
"promise/always-return": 0,
"@typescript-eslint/no-use-before-define": 0,
"no-underscore-dangle": 0,
"@typescript-eslint/no-explicit-any": 0,
quotes: [1, "single"],
"no-irregular-whitespace": 1,
"no-trailing-spaces": 1,
"no-return-await": 0,
"no-await-in-loop": 0,
"@typescript-eslint/no-unused-expressions": 0,
"import/no-cycle": 0,
"no-restricted-syntax": 0,
"promise/param-names": 0,
"array-callback-return": 0,
},
plugins: ["@typescript-eslint"],
extends: [
"airbnb-typescript",
"plugin:@typescript-eslint/recommended",
"plugin:eslint-comments/recommended",
"plugin:promise/recommended",
"prettier",
"prettier/@typescript-eslint",
],
};