ember-cli-eslint: ember test is not reading .eslintignore?

I have an .eslintignore file in the root of my project. It contains:

/tests/reports/*

The goal of this is to get all the istanbul reports ignored. If I just run eslint this works, but if I run ember test the .eslintignore file is not respected. Additionally I have tired added a tests/.eslintignore file but it too appears to be ignored when running test. I don’t think its a problem with my syntax since running eslint manually respects the .eslintignore file.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (5 by maintainers)

Most upvoted comments

FWIW - I’m not able to get ember-cli-eslint v3.0.0 to respect an .eslintignore file at all.

I have an .eslintignore file at the root of my project, and no matter what I set it to (including **/*.js) I cannot get it to ignore the files under tests.

I have a PR into broccoli-lint-eslint that I believe resolves this issue: https://github.com/ember-cli/broccoli-lint-eslint/pull/85