Skip to content

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

Closed
@teppeis

Description

@teppeis

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions