vue1111

Compiled with problems: × ERROR [eslint]  C:\Users\尹兆阳\Desktop\在线租车\vue-cars\web\src\views\index\ind

Compiled with problems:
×
ERROR
[eslint] 
C:\Users\尹兆阳\Desktop\在线租车\vue-cars\web\src\views\index\index.vue
  1:11  error  Delete `␍`                                           prettier/prettier
  2:3   error  Replace `···<div>首页</div>␍` with `<div>首页</div>`     prettier/prettier
  3:12  error  Delete `␍`                                           prettier/prettier
  4:9   error  Delete `␍`                                           prettier/prettier
  5:15  error  Replace `{␍` with `·{`                               prettier/prettier
  6:1   error  Replace `····name:"Index"␍` with `··name:·"Index",`  prettier/prettier
  6:10  error  Component name "Index" should always be multi-word   vue/multi-word-component-names
  7:2   error  Replace `␍` with `;`                                 prettier/prettier
  8:10  error  Delete `␍`                                           prettier/prettier
  9:20  error  Replace `␍⏎␍⏎</style>` with `</style>⏎`              prettier/prettier

✖ 10 problems (10 errors, 0 warnings)
  9 errors and 0 warnings potentially fixable with the `--fix` option.
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,//在vue.config.js加入这行代码
});

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值