Skip to content

Commit

Permalink
Ignore HTML whitespace sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Apr 6, 2021
1 parent 31dccf2 commit aed55fb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 9 additions & 1 deletion index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@
"singleQuote": true,
"tabWidth": 2,
"printWidth": 120,
"vueIndentScriptAndStyle": true
"vueIndentScriptAndStyle": true,
"overrides": [
{
"files": "*.vue",
"options": {
"htmlWhitespaceSensitivity": "ignore"
}
}
]
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"name": "@bokub/prettier-config",
"version": "2.0.1",
"version": "2.1.0",
"description": "bokub's favorite prettier config",
"author": "bokub",
"license": "MIT",
"homepage": "https://github.com/bokub/prettier-config",
"main": "index.json",
"scripts": {
"prettier": "npx prettier --write --config index.json ."
},
"files": [
"package.json",
"index.json",
Expand Down

0 comments on commit aed55fb

Please sign in to comment.