mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Throw warning on prettier formatting issues in web app
This commit is contained in:
parent
1cdfa8087c
commit
41bdd6d6d9
3 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue