You may use special comments to disable some warnings.报错解决

一、错误信息

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

二、解决方法
找到build目录下的webpack.base.conf.js文件,注释掉其中的与有关的eslint规则即可。


 module: {   rules: [      // ...(config.dev.useEslint ? [createLintingRule()] : []),      // 注释掉这一行{       test: /\.vue$/,        loader: 'vue-loader',        options: vueLoaderConfig     },

You may use special comments to disable some warnings.报错解决相关推荐

  1. You may use special comments to disable some warnings. 报错解决的三种方式

    You may use special comments to disable (禁用) some warnings.报错解决 原因 ESLint 对语法的要求过于严格导致编译的时候报上图那些错误. ...

  2. Vue:You may use special comments to disable some warnings.

    Vue:You may use special comments to disable some warnings. 报错如下: 解决办法: 找到build下webpack.base.conf.js ...

  3. You may use special comments to disable some warnings. Use // eslint-disable-next-line……

    You may use special comments to disable some warnings. Use // eslint-disable-next-line-- 错误如下 解决办法 在 ...

  4. VUE启动报这个错误:You may use special comments to disable some warnings.

    问题描述: 在vue启动时报了如下错误: You may use special comments to disable some warnings. Use // eslint-disable-ne ...

  5. vue解决:You may use special comments to disable some warnings.Use // eslint-disable-next-line to ign

    错误描述:项目启动时,出现 You may use special comments to disable some warnings.的翻译是:你可以使用一些特殊的注释来禁用一些警告 出现这样的问题 ...

  6. VUE3 You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignor

    今天学习vue3建项目的时候遇到Eslint各种报错, 报错一: 8:1 error Delete `⏎` prettier/prettier ✖ 1 problem (1 error, 0 warn ...

  7. 报错You may use special comments to disable some warnings.vue-cli脚手架关闭eslint的步骤

    打开 build文件夹下面的webpack.base.conf.js; 找到下面这段代码,并将它注释掉: const createLintingRule = () => ({// test: / ...

  8. VUE项目启动:You may use special comments to disable some warnings

    [原因]:Eslint的检测机制. 解决方法①:在build/webpack.base.conf.js文件中注释掉第44行代码,如下图,重新yarn start 或者npm run dev 解决方法② ...

  9. vue解决----You may use special comments to disable some warnings.Use // eslint-disable-next-line to i

    虽然知道是ESLint 对语法的要求过于严格导致编译的时候报错,需要改掉eslint, 但是在网上查到的方法都不管用,耗费了两个小时,终于在一个帖子里找到了方法,因此总结如下: 完整警告: 找到的方法 ...

最新文章

  1. C++11之final关键字
  2. 关于H3C MSR路由器L2TP隧道协议路由配置的特点
  3. s:iterator标签的使用
  4. aix linux运维,运维老司机分享的八个AIX日常运维经验及案例
  5. 【高并发】ThreadLocal、InheritableThreadLocal
  6. SpringBoot的MyBatis generator 注解方式和xml方式 (四)
  7. 在Windows server 2019 Core 版本上安装SQL2016
  8. 光纤色散是什么?如何色散补偿?
  9. 图解冰河木马一次使用过程
  10. 电脑it族宝典常用电脑的从怎样保护自己的眼睛
  11. Python3读写txt文件
  12. 【C++探索之旅】第一部分第二课:C++编程的必要软件
  13. 利用webSocket实现扫码登录PC端
  14. 汽车EMC常用标准汇总
  15. 反复p图、修图,照片画质低如何修复模糊图片为高清?
  16. 【Vue】 favicon.ico:1 GET http://127.0.0.1:5500/favicon.ico 404 (Not Found)
  17. Dart基础——Dart语法
  18. 内蒙古计算机软件考试时间,2018上半年内蒙古计算机软件水平考试报名工作通知...
  19. Linux运行脚手架vue,vue-cli 快速搭建脚手架
  20. m基于matlab的wcdma软切换算法的研究分析和仿真

热门文章

  1. Nginx server_tokens
  2. stm32中断设置(寄存器讲解)
  3. 荣盛生物冲刺科创板:拟募资12.5亿 年营收2.6亿
  4. 5.资料下载:QT与MFC学习
  5. Tableau 空难统计分析(二)飞行阶段事故数
  6. NSFC: 研究内容可选的结构
  7. [Google Guava]--Ordering类
  8. java 获取文件时间_java获取文件创建和修改时间
  9. JS获取IP地址,控制台提示returnCitySN未定义的问题
  10. 基于Qt5的塔防游戏-屠杀恶魔城大战