Closed dobesv closed 3 years ago
That's unexpected, when the CLIEngine is constructed, we pass useEslintrc: false
so it should ignore all your config files.
https://eslint.org/docs/developer-guide/nodejs-api#cliengine
Indeed. Also, I don't get the impression it is applying all the rules, just some of them. Very odd.
I can't reproduce this. It's definitely not looking in any eslintrc file; I checked with an invalid file and it didn't complain.
Can you share more detail and/or try to narrow down the problem and provide a reproduction?
I tried to modify your "example" file to add the same eslint plugins I am using but to no avail, it still didn't report these issues.
I'll close this for now, and reopen it if I have time to revisit this in more detail later.
I noticed warnings printed from other rules / plugins that I don't want: