diff --git a/index.json b/index.json index d8733b3..fcab6c9 100644 --- a/index.json +++ b/index.json @@ -2,5 +2,13 @@ "singleQuote": true, "tabWidth": 2, "printWidth": 120, - "vueIndentScriptAndStyle": true + "vueIndentScriptAndStyle": true, + "overrides": [ + { + "files": "*.vue", + "options": { + "htmlWhitespaceSensitivity": "ignore" + } + } + ] } diff --git a/package.json b/package.json index cd7a8a2..f1067f0 100644 --- a/package.json +++ b/package.json @@ -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",