robatwilliams / es-compat

Check JavaScript code compatibility with target runtime environments
MIT License
65 stars 13 forks source link

warning File ignored because of a matching ignore pattern #23

Closed dobesv closed 3 years ago

dobesv commented 3 years ago

When I run it I get these warnings:

/home/ubuntu/app/dist/web/vnd.timers-browserify.js
  0:0  warning  File ignored because of a matching ignore pattern. Use "--no-ignore" to override

It seems to be applying the rules from .eslintignore. It might be nice if I could use --no-ignore as suggested, but that option is not propagated through by the command line tool.

robatwilliams commented 3 years ago

Need to pass ignore: false when constructing CLIEngine. Already passing an option to ignore eslintrc files.

https://eslint.org/docs/developer-guide/nodejs-api#cliengine

robatwilliams commented 3 years ago

Released https://github.com/robatwilliams/es-compat/releases/tag/v1.1.1