Last active
July 8, 2017 13:32
-
-
Save kumalee/33e4ec8432d5596b9c909c628d70479a to your computer and use it in GitHub Desktop.
code formatting config file for vue project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| settings.json | |
| This config file is for VS Code | |
| Put the file into your project's root directory | |
| Place your settings in this file to overwrite default and user settings. | |
| Dependent VS Code Plugins: | |
| Beautify | |
| ESLint | |
| Prettier | |
| Vetur | |
| */ | |
| { | |
| "prettier.eslintIntegration": true, | |
| "editor.formatOnSave": true, | |
| "prettier.singleQuote": true, | |
| "prettier.semi": false, | |
| "vetur.format.html.wrap_attributes": "force", | |
| "vetur.format.css.newline_between_rules": true | |
| } | |
| /* | |
| .eslintrc.js | |
| */ | |
| { | |
| "comments": false, | |
| "env": { | |
| "test": { | |
| "presets": [ | |
| ["env", { | |
| "targets": { "node": 7 } | |
| }], | |
| "stage-0" | |
| ], | |
| "plugins": ["istanbul"] | |
| }, | |
| "main": { | |
| "presets": [ | |
| ["env", { | |
| "targets": { "node": 7 } | |
| }], | |
| "stage-0" | |
| ] | |
| }, | |
| "renderer": { | |
| "presets": [ | |
| ["env", { | |
| "modules": false | |
| }], | |
| "stage-0" | |
| ] | |
| }, | |
| "web": { | |
| "presets": [ | |
| ["env", { | |
| "modules": false | |
| }], | |
| "stage-0" | |
| ] | |
| } | |
| }, | |
| "plugins": ["transform-runtime"] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment