Throw warning on prettier formatting issues in web app

This commit is contained in:
Debanjum Singh Solanky 2024-08-05 01:21:56 +05:30
parent 1cdfa8087c
commit 41bdd6d6d9
3 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,6 @@
],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "off"
"prettier/prettier": "warn"
}
}

0
src/interface/web/.husky/pre-commit Normal file → Executable file
View file

View file

@ -86,7 +86,8 @@
"typescript": "^5"
},
"prettier": {
"tabWidth": 4
"tabWidth": 4,
"printWidth": 100
},
"lint-staged": {
"*": "yarn lint --fix"