chore: update prettier config

This commit is contained in:
qier222 2021-04-25 17:27:19 +08:00
parent fab0227ed3
commit b537081f2a
No known key found for this signature in database
GPG Key ID: 9C85007ED905F14D
3 changed files with 4 additions and 8 deletions

4
.npmrc
View File

@ -1,4 +0,0 @@
# 如果发现 npm / yarn 安装太慢,可以解除注释
# registry=https://registry.npm.taobao.org/
# ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron
# phantomjs_cdnurl=https://npm.taobao.org/dist/phantomjs

View File

@ -3,10 +3,10 @@
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"singleQuote": true,
"jsxSingleQuote": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"arrowParens": "avoid",
"endOfLine": "lf",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "strict"

View File

@ -92,8 +92,8 @@
"extends": [
"plugin:vue/essential",
"plugin:vue/recommended",
"eslint:recommended",
"plugin:prettier/recommended"
"plugin:prettier/recommended",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"