vscode+eslint+prettier实现代码格式化

  • 新建.prettierrc
    ```javascript { “trailingComma”: “es5”, “printWidth”: 200, “singleQuote”: true, “semi”: false }

```