aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-09-25 09:55:33 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-01 16:39:37 +0200
commit7fb651235128dcbca8a6683b5cdafdf835f46300 (patch)
tree28f6f36bb0b5596981dc99d46b68fcc7b62e282f /package.json
parentf9870eec2cefef95aa563cbbbe78f2dc9dd5e128 (diff)
downloadnextcloud-server-7fb651235128dcbca8a6683b5cdafdf835f46300.tar.gz
nextcloud-server-7fb651235128dcbca8a6683b5cdafdf835f46300.zip
Use eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
1 files changed, 13 insertions, 2 deletions
diff --git a/package.json b/package.json
index 3b3dfd5e4e8..35de4dd2307 100644
--- a/package.json
+++ b/package.json
@@ -9,8 +9,9 @@
},
"scripts": {
"build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js",
- "dev": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js",
- "watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js"
+ "dev": "NODE_ENV=development webpack --progress --config webpack.dev.js",
+ "watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js",
+ "lint:fix": "ESLINT_FIX=true webpack --progress --watch --config webpack.dev.js"
},
"repository": {
"type": "git",
@@ -72,6 +73,16 @@
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
"browserslist-config-nextcloud": "0.0.1",
"css-loader": "^3.2.0",
+ "eslint": "^5.16.0",
+ "eslint-config-nextcloud": "0.0.5",
+ "eslint-config-standard": "^12.0.0",
+ "eslint-loader": "^3.0.0",
+ "eslint-plugin-import": "^2.18.2",
+ "eslint-plugin-nextcloud": "^0.3.0",
+ "eslint-plugin-node": "^10.0.0",
+ "eslint-plugin-promise": "^4.2.1",
+ "eslint-plugin-standard": "^4.0.1",
+ "eslint-plugin-vue": "^5.2.3",
"exports-loader": "^0.7.0",
"file-loader": "^4.2.0",
"handlebars-loader": "^1.7.1",