Browse Source

Use prettier for formatting CSS code

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
ee79c196df
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 5
      src/webui/www/package.json

5
src/webui/www/package.json

@ -6,12 +6,13 @@
"url": "https://github.com/qbittorrent/qBittorrent.git" "url": "https://github.com/qbittorrent/qBittorrent.git"
}, },
"scripts": { "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" "lint": "eslint private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js"
}, },
"devDependencies": { "devDependencies": {
"eslint": "*", "eslint": "*",
"eslint-plugin-html": "*", "eslint-plugin-html": "*",
"js-beautify": "*" "js-beautify": "*",
"prettier": "*"
} }
} }

Loading…
Cancel
Save