From 2948a99b6e51c42039025b049d8f92e92b1b7d2c Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 1 Aug 2021 16:04:19 +0200 Subject: [mod] simple theme - add ESLint [1] https://eslint.org/ [2] https://eslint.org/docs/user-guide/configuring/ [3] https://eslint.org/docs/user-guide/command-line-interface Signed-off-by: Markus Heiser --- searx/static/themes/simple/package.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'searx/static/themes/simple/package.json') diff --git a/searx/static/themes/simple/package.json b/searx/static/themes/simple/package.json index 89e9008be..e36181001 100644 --- a/searx/static/themes/simple/package.json +++ b/searx/static/themes/simple/package.json @@ -1,5 +1,6 @@ { "devDependencies": { + "eslint": "^7.32.0", "grunt-cli": "^1.4.3", "grunt": "~1.4.1", "grunt-contrib-copy": "^1.0.0", @@ -10,6 +11,7 @@ "grunt-contrib-uglify": "~5.0.1", "grunt-contrib-watch": "~1.1.0", "grunt-stylelint": "^0.16.0", + "grunt-eslint": "^23.0.0", "grunt-webfont": "^1.7.2", "ionicons-npm": "^2.0.1", "jslint": "^0.12.1", @@ -26,6 +28,7 @@ "scripts": { "all": "npm install && grunt", "build": "grunt", + "eslint": "grunt eslint", "watch": "grunt watch", "webfont": "grunt webfont", "clean": "rm -Rf node_modules package-lock.json ion.less", -- cgit v1.2.3