From 7fb651235128dcbca8a6683b5cdafdf835f46300 Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Wed, 25 Sep 2019 09:55:33 +0200 Subject: Use eslint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- package.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'package.json') 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", -- cgit v1.2.3