diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fe7ee0..b9796bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file. - Update `stylelint-plugin-defensive-css`, `web-ext` - Update dependencies - Update dependencies +- Update dprint plugins ## \[[0.9.5](https://git.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.5)] - 2023-09-13 diff --git a/package.json b/package.json index 87d45e5..06444fe 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "lint:web-ext": "web-ext lint -w", "lint:js": "eslint .", "lint:css": "stylelint \"src/*.css\"", + "fmt": "dprint fmt", "fmt:check": "dprint check", "fmt:update": "dprint config update", "test": "echo \"Error: no test specified\" && exit 0", @@ -49,7 +50,7 @@ "postbuild:firefox": "npm run postbuild", "postbuild:chromium": "npm run postbuild && npm run uninject-browser-polyfill", "postinstall": "npm run copy-browser-polyfill", - "preversion": "npm run lint && npm test", + "preversion": "npm run fmt:check && npm run lint && npm test", "version": "npm run copy-version && npm run update-changelog && git add CHANGELOG.md src/manifest.json", "postversion": "npm run build:firefox", "prepare": "husky install",