“No ESLint configuration found” error

后端 未结 11 2206
故里飘歌
故里飘歌 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条回答
  •  鱼传尺愫
    2021-02-01 16:22

    For those having the same problem, this is how we've fixed it.

    Following the Requiring Configuration to Run migration procedure, we had to rename eslint.json to .eslintrc.json which is one of the default ESLint config file names now.

    We've also removed the config grunt-eslint option.

提交回复
热议问题