Skip to content

API addition: Get rule ids + get rule properties by id #155

@mahonnaise

Description

@mahonnaise

This addition will allow you to generate some UI for whatever rules there might be.

ids = CSSLint.getRuleIds();

name = CSSLint.getRuleProperty(ids[x], 'name');

Something like that would do the trick.

Or:

prop = CSSLint.getRuleProperties();

prop[x].name

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions