Commit | Line | Data |
---|---|---|
083fa9ca MS |
1 | module.exports = { |
2 | root: true, | |
3 | parser: "@typescript-eslint/parser", | |
4 | parserOptions: { | |
5 | tsconfigRootDir: __dirname, | |
6 | project: ["./tsconfig.json"] | |
7 | }, | |
8 | plugins: ["@typescript-eslint"], | |
9 | extends: [ | |
10 | "eslint:recommended", | |
11 | "plugin:@typescript-eslint/recommended", | |
12 | "plugin:@typescript-eslint/recommended-requiring-type-checking", | |
13 | "prettier", | |
14 | "prettier/@typescript-eslint" | |
15 | ], | |
16 | rules: { | |
17 | "@typescript-eslint/ban-types": [ | |
18 | "error", { | |
19 | types: { | |
20 | "object": false | |
21 | }, | |
22 | extendDefaults: true | |
23 | } | |
24 | ], | |
25 | "@typescript-eslint/no-explicit-any": 0, | |
26 | "@typescript-eslint/no-non-null-assertion": 0, | |
27 | "@typescript-eslint/no-unsafe-assignment": 0, | |
28 | "@typescript-eslint/no-unsafe-call": 0, | |
29 | "@typescript-eslint/no-unsafe-member-access": 0, | |
30 | "@typescript-eslint/no-unsafe-return": 0, | |
31 | "@typescript-eslint/no-unused-vars": [ | |
32 | "error", { | |
33 | "argsIgnorePattern": "^_" | |
34 | } | |
35 | ] | |
36 | } | |
37 | }; |