From aa03d38cc0432312f593f5a332e467042110b89f Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Fri, 11 Aug 2023 20:24:56 -0700 Subject: [PATCH] chore: :wrench: linting config --- .gitignore | 3 +++ packages/client/.eslintrc.json | 1 + packages/client/package.json | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) 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": {