UNPKG

1.39 kBJSONView Raw
1{
2 "extends": ["prettier", "plugin:prettier/recommended"],
3 "parser": "@typescript-eslint/parser",
4 "parserOptions": {
5 "ecmaVersion": 2020,
6 "project": "./tsconfig.json",
7 "sourceType": "module"
8 },
9 "plugins": ["@typescript-eslint"],
10 "rules": {
11 "@typescript-eslint/adjacent-overload-signatures": "error",
12 "@typescript-eslint/ban-types": ["error", {
13 "extendDefaults": true,
14 "types": {"object": false}
15 }],
16 "camelcase": "off",
17 "@typescript-eslint/consistent-type-assertions": "error",
18 "@typescript-eslint/member-delimiter-style": [
19 "error",
20 { "multiline": { "delimiter": "none" } }
21 ],
22 "@typescript-eslint/naming-convention": "off",
23 "no-array-constructor": "off",
24 "@typescript-eslint/no-array-constructor": "error",
25 "no-empty-function": "off",
26 "@typescript-eslint/no-empty-function": "error",
27 "@typescript-eslint/no-empty-interface": "error",
28 "@typescript-eslint/no-inferrable-types": "error",
29 "@typescript-eslint/no-misused-new": "error",
30 "@typescript-eslint/no-namespace": "error",
31 "@typescript-eslint/no-this-alias": "error",
32 "no-unused-vars": "off",
33 "@typescript-eslint/no-unused-vars": "warn",
34 "@typescript-eslint/type-annotation-spacing": "error",
35 "no-var": "error",
36 "prefer-const": "error",
37 "prefer-rest-params": "error",
38 "prefer-spread": "error"
39 }
40}