Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2021-09-30 09:22:57 +0300
committerGitHub <noreply@github.com>2021-09-30 09:22:57 +0300
commit10fe3ec18cb29969cfa44bd4d9608e5e0d33c041 (patch)
tree20e52bff274944c4d52bc055ec9d650e8b55eec4
parentd671dcd8771eaaaf22e1432da348967f8d033179 (diff)
[Vue] add .eslintignore for IDEs that run the eslint CLI (#18083)
* add .eslintignore for IDEs that run the eslint CLI * add eslint script to npm
-rw-r--r--.eslintignore6
-rw-r--r--package.json3
2 files changed, 8 insertions, 1 deletions
diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 0000000000..aff91b455c
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,6 @@
+tests/
+tmp/
+plugins/*/javascripts/
+plugins/*/angularjs/
+plugins/*/tests/UI/
+plugins/*/vue/dist/**/*.js
diff --git a/package.json b/package.json
index 31a7a6deb4..7ce0ccd893 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,8 @@
"test": "tests"
},
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "echo \"Error: no test specified\" && exit 1",
+ "eslint": "eslint"
},
"repository": {
"type": "git",