mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-24 01:08:06 -06:00
WebUI: enable cache for lint checks
Also, WebUI gets its own .gitignore file.
This commit is contained in:
5
src/webui/www/.gitignore
vendored
Normal file
5
src/webui/www/.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Web UI tools
|
||||
.eslintcache
|
||||
.stylelintcache
|
||||
node_modules
|
||||
package-lock.json
|
||||
@@ -7,7 +7,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"format": "js-beautify -r *.mjs private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && prettier --write **.css",
|
||||
"lint": "eslint *.mjs private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && stylelint **/*.css && html-validate private public"
|
||||
"lint": "eslint --cache *.mjs private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && stylelint --cache **/*.css && html-validate private public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@stylistic/eslint-plugin": "*",
|
||||
|
||||
Reference in New Issue
Block a user