Showing
5 changed files
with
26 additions
and
1 deletions
.browserslistrc
0 → 100644
.editorconfig
0 → 100644
.eslintrc.js
0 → 100644
| 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 | + 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
| 12 | + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' | ||
| 13 | + }, | ||
| 14 | + parserOptions: { | ||
| 15 | + parser: 'babel-eslint' | ||
| 16 | + } | ||
| 17 | +} |
This diff could not be displayed because it is too large.
| ... | @@ -15,7 +15,7 @@ module.exports = { | ... | @@ -15,7 +15,7 @@ module.exports = { |
| 15 | // 输出文件目录 | 15 | // 输出文件目录 |
| 16 | outputDir: 'dist', | 16 | outputDir: 'dist', |
| 17 | // eslint-loader 是否在保存的时候检查 | 17 | // eslint-loader 是否在保存的时候检查 |
| 18 | - lintOnSave: true, | 18 | + lintOnSave: undefined, |
| 19 | // webpack配置 | 19 | // webpack配置 |
| 20 | // see https://github.com/vuejs/vue-cli/blob/dev/docs/webpack.md | 20 | // see https://github.com/vuejs/vue-cli/blob/dev/docs/webpack.md |
| 21 | chainWebpack: () => {}, | 21 | chainWebpack: () => {}, | ... | ... |
-
Please register or login to post a comment