hookehuyr

fix

1 +> 1%
2 +last 2 versions
3 +not ie <= 8
1 +[*.{js,jsx,ts,tsx,vue}]
2 +indent_style = space
3 +indent_size = 2
4 +trim_trailing_whitespace = true
5 +insert_final_newline = true
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: () => {},
......