Prettier applied to whole project, prettier added to pre-commit hook

This commit is contained in:
Anarios committed 2024-01-15 01:39:46 +01:00
1 parent 47517ce0bd
commit b133adeecb
59 files changed
+912 -819

No files matched your search

+8 -1
View File
@@ -8,7 +8,11 @@
"dev": "webpack --mode=production --watch",
"build": "webpack --mode=production",
"build:safari": "webpack --mode=production && xcrun safari-web-extension-converter Extensions/combined/dist/safari --project-location Extensions/combined/dist --bundle-identifier com.returnyoutubedislike.safari-ext --force",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky install"
},
"lint-staged": {
"*": "prettier --write --ignore-unknown"
},
"repository": {
"type": "git",
@@ -32,6 +36,9 @@
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^11.0.0",
"filemanager-webpack-plugin": "^8.0.0",
"husky": "^8.0.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}