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", | |
3321fc71 | 13 | "prettier" |
083fa9ca MS |
14 | ], |
15 | rules: { | |
16 | "@typescript-eslint/ban-types": [ | |
17 | "error", { | |
18 | types: { | |
19 | "object": false | |
20 | }, | |
21 | extendDefaults: true | |
22 | } | |
23 | ], | |
24 | "@typescript-eslint/no-explicit-any": 0, | |
25 | "@typescript-eslint/no-non-null-assertion": 0, | |
26 | "@typescript-eslint/no-unsafe-assignment": 0, | |
27 | "@typescript-eslint/no-unsafe-call": 0, | |
28 | "@typescript-eslint/no-unsafe-member-access": 0, | |
29 | "@typescript-eslint/no-unsafe-return": 0, | |
30 | "@typescript-eslint/no-unused-vars": [ | |
31 | "error", { | |
32 | "argsIgnorePattern": "^_" | |
33 | } | |
34 | ] | |
35 | } | |
36 | }; |