commit 16b1b03fbbcc731f77cbe6b366744f2380ad32e6
parent a45328748e478abc289bd1fd40a2cae81a1e7b00
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Tue, 3 Dec 2019 18:35:52 +0100
config: move lint exclude dirs from command line to .eslintignore
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/.eslintignore b/.eslintignore
@@ -0,0 +1,2 @@
+node_modules
+build
+\ No newline at end of file
diff --git a/package.json b/package.json
@@ -4,7 +4,7 @@
"scripts": {
"build": "node scripts/build.js",
"start": "webpack-dev-server --open --config webpack/webpack.config.dev.js",
- "lint": "eslint '**/*.js' --ignore-pattern node_modules/ --ignore-pattern build/"
+ "lint": "eslint '**/*.js'"
},
"repository": {
"type": "git",