diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-11-23 18:16:23 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-14 06:50:26 +0100 |
commit | 06730588a6401ef604b94986fc19ea5aa97c9035 (patch) | |
tree | bf4fbae8856571fa2c2af7b6b9a2cc9a8f1b7ec3 /searx/static/themes/simple/package.json | |
parent | 07e9d952cfc15f0223de65e29967ac4ea6c9b59f (diff) | |
download | searxng-06730588a6401ef604b94986fc19ea5aa97c9035.tar.gz searxng-06730588a6401ef604b94986fc19ea5aa97c9035.zip |
[mod] SearXNG JavaScript Style Guide (eslint:recommended)
The SearXNG JavaScript Style Guide is a set of eslint rules [1] based on the
eslint:recommended [2] rules.
"extends": "eslint:recommended"
The additional rules adopted from the JavaScript Standard Style [3][4].
[1] https://eslint.org/docs/rules/
[2] https://github.com/kunalgolani/eslint-config/tree/master/packages/recommended
[3] https://standardjs.com/rules.html#javascript-standard-style
[4] https://github.com/standard/eslint-config-standard/blob/master/.eslintrc.json
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/package.json')
-rw-r--r-- | searx/static/themes/simple/package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/static/themes/simple/package.json b/searx/static/themes/simple/package.json index 356230f52..321d44556 100644 --- a/searx/static/themes/simple/package.json +++ b/searx/static/themes/simple/package.json @@ -30,6 +30,7 @@ "all": "npm install && grunt", "build": "grunt", "eslint": "grunt eslint", + "eslint-fix": "grunt eslint --fix", "watch": "grunt watch", "webfont": "grunt webfont", "clean": "rm -Rf node_modules package-lock.json ion.less", |