Skip to content

Allow embedded per-file rules. #336

@shannonmoeller

Description

@shannonmoeller

I'd like to be able to specify rules on a per-file basis by embedding the options directly in the CSS file as a comment, similar to jslint and jshint:

/*csslint --ignore=adjoining-classes,box-sizing --error=universal-selector */

Or, to follow jslint convention (defaults to warn, false is ignore, true is error):

/*csslint adjoining-classes:false, box-sizing:false, universal-selector:true */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions