-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc.cjs
27 lines (27 loc) · 830 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
module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "eslint-plugin-tsdoc"],
extends: ["xo", "xo-typescript", "prettier"],
ignorePatterns: [".eslintrc.cjs"],
rules: {
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/prefer-literal-enum-member": 0,
"@typescript-eslint/naming-convention": 0,
"@typescript-eslint/parameter-properties": 0,
"@typescript-eslint/member-ordering": 0,
"@typescript-eslint/consistent-type-imports": [
"error",
{ prefer: "type-imports" },
],
"@typescript-eslint/consistent-type-definitions": 0,
"no-bitwise": 0,
"no-eq-null": 0,
"object-shorthand": ["error", "properties"],
"eqeqeq": ["error", "smart"],
"capitalized-comments": 0,
"no-await-in-loop": 0,
"max-params": 0,
"complexity": 0,
"tsdoc/syntax": "error",
},
};