Skip to content

Commit

Permalink
Turn prettier formatting issues as error
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjum committed Aug 4, 2024
1 parent 1cdfa80 commit 046cd3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interface/web/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "off"
"prettier/prettier": "error"
}
}
Empty file modified src/interface/web/.husky/pre-commit
100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion src/interface/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
"typescript": "^5"
},
"prettier": {
"tabWidth": 4
"tabWidth": 4,
"printWidth": 100
},
"lint-staged": {
"*": "yarn lint --fix"
Expand Down

0 comments on commit 046cd3f

Please sign in to comment.