Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to force eslint to ignore `eslint-disable` directives?

I have a 3rd party generated library in my codebase, and I'd like to lint it with a specific set of rules. Unfortunately, the generated library includes /* eslint-disable */ in the file. I'd like to avoid using sed to remove that line if possible, so if there's a way to explicitly tell eslint to lint a disabled file, that's the way I'd like to go.

like image 799
SquiggyJ Avatar asked Sep 12 '25 13:09

SquiggyJ


1 Answers

You can just use the --no-inline-config command line option.

like image 151
doberkofler Avatar answered Sep 15 '25 02:09

doberkofler