diff --git a/eslint.config.js b/eslint.config.js index 53ad76e3f..7479bb107 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -14,7 +14,10 @@ export default [ ignores: [ 'src/scripts/*', 'src/extensions/core/*', - 'src/types/vue-shim.d.ts' + 'src/types/vue-shim.d.ts', + // Generated files that don't need linting + 'src/types/comfyRegistryTypes.ts', + 'src/types/generatedManagerTypes.ts' ] }, { diff --git a/package.json b/package.json index 27cc90d77..60733eed8 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,9 @@ "test:component": "vitest run src/components/", "prepare": "husky || true", "preview": "vite preview", - "lint": "eslint src", - "lint:fix": "eslint src --fix", + "lint": "eslint src --cache", + "lint:fix": "eslint src --cache --fix", + "lint:no-cache": "eslint src", "knip": "knip", "locale": "lobe-i18n locale", "collect-i18n": "playwright test --config=playwright.i18n.config.ts",