mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-04-03 23:42:06 +08:00
WebUI: enable cache for lint checks
Also, WebUI gets its own .gitignore file.
This commit is contained in:
parent
82c36aea89
commit
5098519d46
4
.gitignore
vendored
4
.gitignore
vendored
@ -41,7 +41,3 @@ src/icons/skin/build-icons/icons/*.png
|
||||
|
||||
# CMake build directory
|
||||
build/
|
||||
|
||||
# Web UI tools
|
||||
node_modules
|
||||
package-lock.json
|
||||
|
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": "*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user