mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Throw warning on prettier formatting issues in web app
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
],
|
||||
"plugins": ["prettier"],
|
||||
"rules": {
|
||||
"prettier/prettier": "off"
|
||||
"prettier/prettier": "warn"
|
||||
}
|
||||
}
|
||||
|
||||
0
src/interface/web/.husky/pre-commit
Normal file → Executable file
0
src/interface/web/.husky/pre-commit
Normal file → Executable file
@@ -86,7 +86,8 @@
|
||||
"typescript": "^5"
|
||||
},
|
||||
"prettier": {
|
||||
"tabWidth": 4
|
||||
"tabWidth": 4,
|
||||
"printWidth": 100
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": "yarn lint --fix"
|
||||
|
||||
Reference in New Issue
Block a user