SquiggyJ
SquiggyJ

Reputation: 43

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.

Upvotes: 3

Views: 1250

Answers (1)

doberkofler
doberkofler

Reputation: 10421

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

Upvotes: 3

Related Questions