diff --git a/.gitignore b/.gitignore index c5ff3fb98f..4e22eee942 100644 --- a/.gitignore +++ b/.gitignore @@ -75,3 +75,6 @@ yarn* # Cargo cache for Docker /.cargo-cache /.cargo-target + +# ESLint cache +.eslintcache diff --git a/packages/client/.eslintrc.json b/packages/client/.eslintrc.json index 104cfec8f4..03b0450166 100644 --- a/packages/client/.eslintrc.json +++ b/packages/client/.eslintrc.json @@ -10,6 +10,7 @@ "unused-imports", "eslint-plugin-unused-imports" ], + "ignorePatterns": ["**/*.json5"], "rules": { "file-progress/activate": 1, "no-unused-vars": "off", diff --git a/packages/client/package.json b/packages/client/package.json index d050e746eb..2072590f86 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -6,7 +6,7 @@ "build": "pnpm vite build", "build:debug": "pnpm run build", "lint": "pnpm rome check **/*.ts --apply && pnpm run lint:vue", - "lint:vue": "pnpm eslint --fix '**/*' --cache", + "lint:vue": "pnpm eslint --fix '**/*' --cache && pnpm run format", "format": "pnpm rome format * --write && pnpm prettier --write '**/*.{scss,vue}' --cache --cache-strategy metadata" }, "devDependencies": {