Skyler Grey | 7177bbd | 2023-06-01 03:26:31 +0200 | [diff] [blame^] | 1 | module.exports = { |
| 2 | extends: [ |
| 3 | "eslint:recommended", |
| 4 | "plugin:@typescript-eslint/strict", |
| 5 | "turbo", |
| 6 | "prettier", |
| 7 | ], |
| 8 | parserOptions: { |
| 9 | sourceType: "module", |
| 10 | }, |
| 11 | plugins: ["@typescript-eslint"], |
| 12 | rules: { |
| 13 | "no-unused-vars": "off", |
| 14 | "@typescript-eslint/no-unused-vars": [ |
| 15 | "warn", |
| 16 | { |
| 17 | argsIgnorePattern: "^_", |
| 18 | varsIgnorePattern: "^_", |
| 19 | caughtErrorsIgnorePattern: "^_", |
| 20 | }, |
| 21 | ], |
| 22 | "@typescript-eslint/no-explicit-any": "error", |
| 23 | "@typescript-eslint/no-misused-promises": "error", |
| 24 | "@typescript-eslint/no-floating-promises": "error", |
| 25 | }, |
| 26 | }; |