From 38267eeb20eb61ddd0408b14933b5593205f28a0 Mon Sep 17 00:00:00 2001 From: furedea <132188853+furedea@users.noreply.github.com> Date: Tue, 10 Nov 2026 18:05:00 +0900 Subject: [PATCH] build(lint): align oxlint config with template-typescript Enable typescript/consistent-type-imports and typescript/no-explicit-any, and ignore Astro's generated .astro directory. Both rules report 0 violations. Refs furedea/agent-config#74 Co-Authored-By: Claude Sonnet 5.5 --- .oxlintrc.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index a639dd3..9bca151 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -1,7 +1,8 @@ { "$schema": "./node_modules/oxlint/configuration_schema.json", "plugins": ["typescript", "import", "promise", "node", "vitest"], - "ignorePatterns": ["coverage/**", "dist/**", "node_modules/**"], + // `.astro/**` is Astro's generated type output, which this Astro site produces. + "ignorePatterns": ["coverage/**", "dist/**", "node_modules/**", ".astro/**"], "settings": { "vitest": { "typecheck": true @@ -14,6 +15,8 @@ "max-lines": ["error", { "max": 500 }], "max-params": ["error", { "max": 3 }], "typescript/await-thenable": "error", + "typescript/consistent-type-imports": "error", + "typescript/no-explicit-any": "error", "typescript/no-floating-promises": "error", "typescript/no-misused-promises": "error" },