Move lint-staged config to different file to ignore filenames

This commit is contained in:
2019-08-08 11:49:48 +05:30
parent 0e2278c916
commit f94f7c5409
2 changed files with 3 additions and 5 deletions
+3
View File
@@ -0,0 +1,3 @@
module.exports = {
"*.{js,jsx,ts,tsx}": "run-s check:* lint"
};
-5
View File
@@ -119,10 +119,5 @@
"typedoc": "^0.15.0", "typedoc": "^0.15.0",
"typedoc-plugin-markdown": "^2.1.0", "typedoc-plugin-markdown": "^2.1.0",
"typescript": "3.5.3" "typescript": "3.5.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"run-s check:* lint"
]
} }
} }