From da778ed04ca9063b268014b5d7c491600f304ec8 Mon Sep 17 00:00:00 2001 From: tapeds Date: Fri, 18 Oct 2024 19:19:57 +0700 Subject: [PATCH] fix: workflow lint-staged not working --- .husky/commit-msg | 0 .husky/post-merge | 0 .husky/pre-commit | 0 .lintstagedrc.js | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 .husky/commit-msg mode change 100644 => 100755 .husky/post-merge mode change 100644 => 100755 .husky/pre-commit diff --git a/.husky/commit-msg b/.husky/commit-msg old mode 100644 new mode 100755 diff --git a/.husky/post-merge b/.husky/post-merge old mode 100644 new mode 100755 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 5bb8f74..d64b601 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -3,7 +3,7 @@ module.exports = { "**/*.(ts|tsx)": () => "pnpm typecheck", // Lint & Prettify TS and JS files - "**/*.(ts|tsx|js)": () => [`pnpm lint:strict `, `pnpm format:write`], + "**/*.(ts|tsx|js)": () => [`pnpm lint `, `pnpm format:write`], // Prettify only Markdown and JSON files "**/*.(md|json)": () => `pnpm format:write`,