import js from "@eslint/js"; import tseslint from "typescript-eslint"; export default tseslint.config( { ignores: ["dist/", "node_modules/", "coverage/", ".vitest-cache/"], }, js.configs.recommended, ...tseslint.configs.recommended, { rules: { // Honour the leading-underscore convention for intentionally // unused parameters and variables. Stub functions in // src/crypto/ during the TDD red phase keep their parameter // names (prefixed with _) so the signature is visible to the // implementer. "@typescript-eslint/no-unused-vars": [ "error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_", }, ], }, }, );