安装eslintprettier后出现如下报错

Error: Cannot read config file: /Users/qiandingwei/Documents/projects/creams-main/node_modules/eslint-config-prettier/@typescript-eslint.js

解决:
.eslintrc.js下的extends中的·prettier/@typescript-eslint去掉,如下所示:

extends: ['plugin:react/recommended','plugin:@typescript-eslint/eslint-recommended',// 'prettier/@typescript-eslint','plugin:prettier/recommended',],

具体原因可以参考github的issue

配置eslint+prettier报错Error: Cannot read config file: /Users/qiandingwei/Documents/projects/creams-main相关推荐

  1. MySQL5.7报错[ERROR] Unix socket lock file is empty /tmp/mysql.sock.lock的解决方法

    MySQL5.7报错[ERROR] Unix socket lock file is empty /tmp/mysql.sock.lock的解决方法 参考文章: (1)MySQL5.7报错[ERROR ...

  2. Angular报错-Error: ENOENT: no such file or directory, scandir '/Users/echo_hx/node_modules'

    2019-11-07   更新 我知道为啥报错了,自我好好反省一下!!! 所以,Mac的终端,不能用简写的命令,哭泣... 不过下面的,就可以看作安装卸载@angular/cli了 在全局安装angu ...

  3. Vue 报错Error: No PostCSS Config found解决办法

    从git上 clone 下来的代码: npm install 安装依赖以后,启动服务,出现Error: No PostCSS Config found报错: npm run dev 解决办法: 在项目 ...

  4. Eclipse中mvn install 报错error in opening zip file

    报错信息 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (de ...

  5. IAR STM32工程报错Error[Pe020]: identifier “GPIO_Pin_0”is undefined D:\STM32F103_Demo\App\main.c

    IAR STM32工程报错: Error[Pe020]: identifier "GPIO_Pin_0" is undefined D:\STM32F103_Demo\App\ma ...

  6. GitBook运行报错 - Error: ENOENT: no such file or directory, stat

    换一台电脑打开GitBook项目居然运行不了,gitbook serve和gitbook build都报错. Error: ENOENT: no such file or directory, sta ...

  7. innobackupex --rsync 报错 Error: can't create file (null)/xtrabackup_rsyncfiles_pass1

    在使用最新版的innobackupex(2.3.2): innobackupex /backup --rsync --user=xx --password=xxx 备份时报错: Error: can' ...

  8. static变量在处理stm32单片机程序报错“Error: L6200E: Symbol cntdata multiply defined (by timer.o and main.o”问题的应用

    一.原程序及错误提示 1)头文件timer.h: #ifndef _TIMER_H #define _TIMER_H #include "sys.h" u8 cntdata=0; ...

  9. keil MDK5.24打开MDK5.15及以前STM32工程报错Error #545:Required gpdsc file 'FrameworkCubeMX.gpdsc' is missing

    最近使用Keil MDK5.24 打开以前MDK5.15的STM32工程时出现如下错误:Error #545: Required gpdsc file'.\RTE\Device\STM32F030K6 ...

最新文章

  1. 《因果学习周刊》第8期:因果反事实预测
  2. 纯Python包发布setup脚本编写示例
  3. 计算机网络管理SIMP,计算机网络管理实验报告.docx
  4. 【原创】为什么 Redis 重启后没有正确恢复之前的内存数据
  5. sqrt()平方根计算函数的实现1——二分法
  6. WEB前端常用JavaScript代码整理(二)
  7. code vs 集成tfs_10大Python集成开发环境和代码编辑器
  8. Python爬虫--urllib
  9. 证券基金行业大数据实施痛点及选型关注点
  10. AD9361开发:接收与发送滤波器配置
  11. vsCode实现美化代码
  12. ubuntu安装maya2011的方法
  13. 搅拌反应釜cad图纸_搅拌式反应釜设计(三维SW)【全套含有CAD图纸三维建模】...
  14. matlab用方程的解赋值,Matlab隐式符号方程求解和赋值
  15. php开发桌面应用程序_使用PHP开发跨平台桌面应用程序的3种方法
  16. Hbuilder 连接MuMu模拟器
  17. 【机器学习】判别式模型和生成式模型
  18. 计算机处理器i5和i7,i5与i7有什么区别 酷睿i5和i7区别汇总【详细介绍】
  19. 掌握这些电脑知识,你可以玩的很无耻
  20. 为何要配置环境变量?带你一探究竟

热门文章

  1. 删除win10自带的IE浏览器需要来自TrustedInstaller的权限
  2. 1782. Travel
  3. CF 333E 计算几何+bitset优化
  4. 利用反函数求导定理求解四个反函数的导数_20160409
  5. 黑裙6.1 CPU显示不对修改方法(网络整理)
  6. UI一揽子计划 17 (image的异步加载、KVO观察者模式、KVO进行豆瓣列表界面图片的异步加载)
  7. smalltalk语言_受Smalltalk启发的Pharo语言增加了64位支持
  8. Maven,将本地jar包安装到Maven厂库
  9. C# wcf动态使调用
  10. win10下node使用管理神器NVM安装配置详细步骤