blob: 25eded94d5b60e5d32e6e5a0bf35b26ec6e26abc [file] [log] [blame]
import js from "@eslint/js";
import tseslint from "typescript-eslint";
export default tseslint.config(
{ ignores: ["dist"] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ["**/*.ts"],
languageOptions: {
ecmaVersion: 2020,
},
rules: {
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_.*",
varsIgnorePattern: "^_.*",
caughtErrorsIgnorePattern: "^_.*",
},
],
},
},
);