Skip to content

Commit

Permalink
Added prettier pre-commit hook for Vue
Browse files Browse the repository at this point in the history
  • Loading branch information
epkRichi committed Jan 28, 2024
1 parent 7fdf8b1 commit dd976f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ repos:
rev: v2.7.1
hooks:
- id: prettier
types_or: [javascript, html, css]
types_or: [javascript, html, css, vue]
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"[css]":{
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"mypy.runUsingActiveInterpreter": true,
}

0 comments on commit dd976f6

Please sign in to comment.