stable

Clone or download

Read-only

request #11733 Enable prettier for vue files

How to test: Create a new Vue file, for example yo.vue and add code that should not be valid for prettier: <template> </template> <script> export default { name: "Yolo" }; </script> Try to commit it. The pre-commit hook should stop you with prettier output. Running the given command should fix it. Change-Id: I83d316666221a95b5c94bb452c9c70e2e4e9f334

Modified Files

Name
M .eslintrc +1 −3 Go to diff View file
M .prettierrc +0 −1 Go to diff View file
M package-lock.json +26 −1 Go to diff View file
M package.json +1 −0 Go to diff View file
M tools/utils/githooks/pre-commit-04-eslint +2 −2 Go to diff View file