“No ESLint configuration found” error

后端 未结 11 2391
故里飘歌
故里飘歌 2021-02-01 16:03

Recently, we\'ve upgraded to ESLint 3.0.0 and started to receive the following message running the grunt eslint task:

> $ grunt eslint
Running \"         


        
11条回答
  •  萌比男神i
    2021-02-01 16:34

    I hade the same problem with Gulp and running "gulp-eslint": "^3.0.1" version. I had to rename config: to configFile in Gulp task

    .pipe(lint({configFile: 'eslint.json'}))
    

提交回复
热议问题