mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
Use prettier for formatting CSS code
This commit is contained in:
parent
aebb9f89d1
commit
ee79c196df
@ -6,12 +6,13 @@
|
||||
"url": "https://github.com/qbittorrent/qBittorrent.git"
|
||||
},
|
||||
"scripts": {
|
||||
"format": "js-beautify private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js",
|
||||
"format": "js-beautify private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && prettier --write **.css",
|
||||
"lint": "eslint private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "*",
|
||||
"eslint-plugin-html": "*",
|
||||
"js-beautify": "*"
|
||||
"js-beautify": "*",
|
||||
"prettier": "*"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user