blob: 20ef473b8d68517b184fb6337dafdbb3555d6006 [file] [log] [blame]
gioc31bf142025-06-16 07:48:20 +00001import js from "@eslint/js";
2import tseslint from "typescript-eslint";
3
4export 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 {
16 argsIgnorePattern: "^_$",
17 varsIgnorePattern: "^_$",
18 caughtErrorsIgnorePattern: "^_$",
19 },
20 ],
21 },
22 },
23);