From f94f7c5409b499cfe1505796d379af9df131ee50 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Thu, 8 Aug 2019 11:49:48 +0530 Subject: [PATCH] Move lint-staged config to different file to ignore filenames --- lint-staged.config.js | 3 +++ package.json | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 lint-staged.config.js diff --git a/lint-staged.config.js b/lint-staged.config.js new file mode 100644 index 0000000..352b3a8 --- /dev/null +++ b/lint-staged.config.js @@ -0,0 +1,3 @@ +module.exports = { + "*.{js,jsx,ts,tsx}": "run-s check:* lint" +}; diff --git a/package.json b/package.json index 804919c..7f6c3e3 100644 --- a/package.json +++ b/package.json @@ -119,10 +119,5 @@ "typedoc": "^0.15.0", "typedoc-plugin-markdown": "^2.1.0", "typescript": "3.5.3" - }, - "lint-staged": { - "*.{js,jsx,ts,tsx}": [ - "run-s check:* lint" - ] } }