diff --git a/.npmrc b/.npmrc deleted file mode 100644 index adcf848..0000000 --- a/.npmrc +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index 86f82d1..231b211 100644 --- a/.prettierrc +++ b/.prettierrc @@ -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" diff --git a/package.json b/package.json index a2ec8dc..9336afc 100644 --- a/package.json +++ b/package.json @@ -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"