mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 05:40:17 +00:00
Throw warning on prettier formatting issues in web app
This commit is contained in:
@@ -6,6 +6,6 @@
|
|||||||
],
|
],
|
||||||
"plugins": ["prettier"],
|
"plugins": ["prettier"],
|
||||||
"rules": {
|
"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"
|
"typescript": "^5"
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"tabWidth": 4
|
"tabWidth": 4,
|
||||||
|
"printWidth": 100
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*": "yarn lint --fix"
|
"*": "yarn lint --fix"
|
||||||
|
|||||||
Reference in New Issue
Block a user