| gio | c31bf14 | 2025-06-16 07:48:20 +0000 | [diff] [blame] | 1 | import js from "@eslint/js"; |
| 2 | import tseslint from "typescript-eslint"; |
| 3 | |
| 4 | export default tseslint.config( |
| 5 | { ignores: ["dist"] }, |
| 6 | { |
| 7 | extends: [js.configs.recommended, ...tseslint.configs.recommended], |
| 8 | files: ["**/*.ts"], |
| 9 | languageOptions: { |
| 10 | ecmaVersion: 2020, |
| 11 | }, |
| 12 | rules: { |
| 13 | "@typescript-eslint/no-unused-vars": [ |
| 14 | "error", |
| 15 | { |
| gio | 8323a05 | 2025-08-04 06:12:26 +0000 | [diff] [blame^] | 16 | argsIgnorePattern: "^_.*", |
| 17 | varsIgnorePattern: "^_.*", |
| 18 | caughtErrorsIgnorePattern: "^_.*", |
| gio | c31bf14 | 2025-06-16 07:48:20 +0000 | [diff] [blame] | 19 | }, |
| 20 | ], |
| 21 | }, |
| 22 | }, |
| 23 | ); |