Skip to content

Disabling a rule via inline comment disables it for all following files #41

@betaorbust

Description

@betaorbust

cssLintPlugin defines a global ruleset object with all available rules.

Inside the returned through.obj, rules for the file are matched up and if any are false, it deletes them from the global ruleset object. All following files loop over the keys in ruleset and, now missing the previously disabled key, don't process it.

Basically, once you turn a rule off in one context, it's turned off in all following contexts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions