Commit 2469fa5ae1b921b28988ecf30d83c75ec97c458e

Authored by Aaron
1 parent fbadb5e7
Exists in master and in 1 other branch legacy

更新配置文件

.browserslistrc 0 → 100644
@@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
  1 +> 1%
  2 +last 2 versions
.editorconfig 0 → 100644
@@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
  1 +[*.{js,jsx,ts,tsx,vue}]
  2 +indent_style = space
  3 +indent_size = 2
  4 +trim_trailing_whitespace = true
  5 +insert_final_newline = true
.eslintrc.js 0 → 100644
@@ -0,0 +1,21 @@ @@ -0,0 +1,21 @@
  1 +module.exports = {
  2 + root: true,
  3 + env: {
  4 + node: true
  5 + },
  6 + 'extends': [
  7 + 'plugin:vue/essential',
  8 + '@vue/standard'
  9 + ],
  10 + rules: {
  11 + 'semi': 'off',
  12 + 'quotes': 'off',
  13 + 'comma-dangle': 'off',
  14 + 'space-before-function-paren': 'off',
  15 + 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
  16 + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
  17 + },
  18 + parserOptions: {
  19 + parser: 'babel-eslint'
  20 + }
  21 +}
.gitignore 0 → 100644
@@ -0,0 +1,21 @@ @@ -0,0 +1,21 @@
  1 +.DS_Store
  2 +node_modules
  3 +/dist
  4 +
  5 +# local env files
  6 +.env.local
  7 +.env.*.local
  8 +
  9 +# Log files
  10 +npm-debug.log*
  11 +yarn-debug.log*
  12 +yarn-error.log*
  13 +
  14 +# Editor directories and files
  15 +.idea
  16 +.vscode
  17 +*.suo
  18 +*.ntvs*
  19 +*.njsproj
  20 +*.sln
  21 +*.sw?