chore: update prettier config

master
qier222 4 years ago
parent fab0227ed3
commit b537081f2a
No known key found for this signature in database
GPG Key ID: 9C85007ED905F14D

@ -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

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

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

Loading…
Cancel
Save