mysticatea / eslint-plugin-eslint-comments

Additional ESLint rules for directive comments of ESLint.
https://mysticatea.github.io/eslint-plugin-eslint-comments/
MIT License
354 stars 44 forks source link

can't disable multiple rules with disable-enable-pair.allowWholeFile #9

Closed teppeis closed 6 years ago

teppeis commented 6 years ago

source

/*eslint-disable no-unused-var, no-undef */
var foo = bar()

output

1:33  error  Requires 'eslint-enable' directive for 'no-undef'  eslint-comments/disable-enable-pair

repro https://github.com/teppeis-sandbox/eslint-comments-repro

mysticatea commented 6 years ago

Thank you for the report.

I confirmed it. I will fix.

teppeis commented 6 years ago

@mysticatea thanks! I've confirmed it's fixed.