From cef724aa21313f655401977074b8b6e0773c6a22 Mon Sep 17 00:00:00 2001 From: Xymorot Date: Mon, 16 Dec 2019 21:25:50 +0100 Subject: [PATCH] config: rename lint:check to prelint so it runs before every lint --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f3444e5..5740101 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "posttest": "npm run test:after", "coverage:fast": "nyc npm run test:fast", "coverage": "nyc npm run test", - "lint:check": "eslint --print-config forge.config.js | eslint-config-prettier-check", + "prelint": "eslint --print-config forge.config.js | eslint-config-prettier-check", "lint": "eslint ./**/*.{js,ts} --max-warnings 1", "lint:fix": "eslint . --fix", "prettier": "prettier --ignore-path .gitignore -c **/*.{html,handlebars,json,{c,sc,sa,le}ss,yml,svelte,md,ts,js}", @@ -42,7 +42,7 @@ "fix": "npm run lint:check && npm run lint:fix && npm run prettier:fix", "forge:make": "electron-forge --platform win32 --arch x64 make", "forge": "npm audit && npm run build && npm run forge:make", - "precommit": "npm run build && npm run prettier && npm run lint:check && npm run lint && npm run coverage:fast", + "precommit": "npm run build && npm run prettier && npm run lint && npm run coverage:fast", "prepush": "npm run build && npm run coverage" }, "dependencies": {