diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-06-25 09:02:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-25 09:02:35 +0200 |
| commit | c91603dae9d89c10b67b58c5c52385b75e89379c (patch) | |
| tree | c9cff6b6376def4849810299984b3796c88794b2 /searx/static/themes/simple/package.json | |
| parent | e73a96b5f9c55e3b6eb6b95515b18d46308ee1c1 (diff) | |
| parent | a3f58a3a3d099cf6c5dfd533f76d97623146e079 (diff) | |
Merge pull request #168 from return42/stylelint
Lint the less files of the simple theme
Diffstat (limited to 'searx/static/themes/simple/package.json')
| -rw-r--r-- | searx/static/themes/simple/package.json | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/searx/static/themes/simple/package.json b/searx/static/themes/simple/package.json index 5c075d154..89e9008be 100644 --- a/searx/static/themes/simple/package.json +++ b/searx/static/themes/simple/package.json @@ -9,11 +9,14 @@ "grunt-contrib-less": "~3.0.0", "grunt-contrib-uglify": "~5.0.1", "grunt-contrib-watch": "~1.1.0", + "grunt-stylelint": "^0.16.0", "grunt-webfont": "^1.7.2", "ionicons-npm": "^2.0.1", "jslint": "^0.12.1", "less": "^4.1.1", - "less-plugin-clean-css": "^1.5.1" + "less-plugin-clean-css": "^1.5.1", + "stylelint": "^13.13.1", + "stylelint-config-standard": "^22.0.0" }, "dependencies": { "autocomplete-js": "2.7.1", @@ -25,6 +28,8 @@ "build": "grunt", "watch": "grunt watch", "webfont": "grunt webfont", - "clean": "rm -Rf node_modules package-lock.json ion.less" + "clean": "rm -Rf node_modules package-lock.json ion.less", + "stylelint": "grunt stylelint", + "stylelint-fix": "grunt stylelint --fix" } } |