From 18ce7cd05bb691ebfe7b51a90a4822ca56f96eb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 9 Oct 2022 15:44:33 +0200 Subject: [PATCH] Refine lint-staged related configurations MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 2 +- src/ui/web/{lint-staged.config.js => .lintstagedrc.js} | 0 src/ui/web/package.json | 3 --- 3 files changed, 1 insertion(+), 4 deletions(-) rename src/ui/web/{lint-staged.config.js => .lintstagedrc.js} (100%) diff --git a/package.json b/package.json index aec21ed8..eb827232 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,8 @@ }, "scripts": { "prepare": "node prepare.js", - "build-requirements": "node build-requirements.js", "prestart": "npm run build", + "build-requirements": "node build-requirements.js", "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs", "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.cjs", "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.cjs", diff --git a/src/ui/web/lint-staged.config.js b/src/ui/web/.lintstagedrc.js similarity index 100% rename from src/ui/web/lint-staged.config.js rename to src/ui/web/.lintstagedrc.js diff --git a/src/ui/web/package.json b/src/ui/web/package.json index 4fb0ea5c..8194d0e0 100644 --- a/src/ui/web/package.json +++ b/src/ui/web/package.json @@ -2,9 +2,6 @@ "name": "webui", "version": "0.1.1", "readme": "README.md", - "gitHooks": { - "pre-commit": "lint-staged" - }, "scripts": { "start": "npm run build && node start.js", "serve": "vue-cli-service serve", -- 2.34.1