Closed
Description
Version
4.2.2
Reproduction link
https://github.com/oOBoomberOo/vue_ui_config_error
Environment info
System:
OS: Linux 5.3 elementary OS 5.1 Hera
CPU: (4) x64 Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Binaries:
Node: 13.7.0 - ~/.nvm/versions/node/v13.7.0/bin/node
Yarn: Not Found
npm: 6.13.6 - ~/.nvm/versions/node/v13.7.0/bin/npm
Browsers:
Chrome: Not Found
Firefox: 72.0.2
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0
@vue/babel-plugin-transform-vue-jsx: 1.1.2
@vue/babel-preset-app: 4.2.2
@vue/babel-preset-jsx: 1.1.2
@vue/babel-sugar-functional-vue: 1.1.2
@vue/babel-sugar-inject-h: 1.1.2
@vue/babel-sugar-v-model: 1.1.2
@vue/babel-sugar-v-on: 1.1.2
@vue/cli-overlay: 4.2.2
@vue/cli-plugin-babel: ~4.2.0 => 4.2.2
@vue/cli-plugin-eslint: ~4.2.0 => 4.2.2
@vue/cli-plugin-router: 4.2.2
@vue/cli-plugin-typescript: ~4.2.0 => 4.2.2
@vue/cli-plugin-vuex: 4.2.2
@vue/cli-service: ~4.2.0 => 4.2.2
@vue/cli-shared-utils: 4.2.2
@vue/component-compiler-utils: 3.1.1
@vue/eslint-config-airbnb: ^5.0.2 => 5.0.2
@vue/eslint-config-typescript: ^5.0.1 => 5.0.1
@vue/preload-webpack-plugin: 1.1.1
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: ^6.1.2 => 6.1.2
typescript: ~3.7.5 => 3.7.5
vue: ^2.6.11 => 2.6.11
vue-class-component: ^7.2.2 => 7.2.2
vue-eslint-parser: 7.0.0
vue-hot-reload-api: 2.3.4
vue-loader: 15.8.3
vue-property-decorator: ^8.3.0 => 8.4.0
vue-style-loader: 4.1.2
vue-template-compiler: ^2.6.11 => 2.6.11
vue-template-es2015-compiler: 1.9.1
npmGlobalPackages:
@vue/cli: Not Found
Steps to reproduce
- Open Vue UI
- Create new Vue project with ES Lint option
- Go to "Configuration" tab
- Go to "ESLint" section
- Select "Rules"
- Change any config value to "Warning"
- Serve/Build the project
What is expected?
Everything compiled normally and able to access the server via http://localhost:8080
url
What is actually happening?
Unable to compiled vue project with this error message:
Module build failed (from ./node_modules/eslint-loader/index.js):
Error: .eslintrc.js:
Configuration for rule "vue/no-async-in-computed-properties" is invalid:
Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"warning"').