“No ESLint configuration found” error

后端 未结 11 2211
故里飘歌
故里飘歌 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:27

    We faced this problem today and realized, that the issue was not caused inside the project that we were working on, but inside a package that we had a link on using the command:

    yarn link
    

    Which is a feature often useful to test out new features or when trying to debug an issue in a package that manifests itself in another project. We solved it by either removing the link, or in case of ember.js disabling the developer mode of our addon package.

    index.js

    module.exports = {
        isDevelopingAddon: function() {
          return false;
        },
        ...
    }
    

提交回复
热议问题