MCPcopy Create free account
hub / github.com/CSSLint/csslint / printRules

Function printRules

src/cli/common.js:126–132  ·  view source on GitHub ↗

* Outputs all available rules to the CLI. * @return {void}

()

Source from the content-addressed store, hash-verified

124 * @return {void}
125 */
126 function printRules() {
127 api.print("");
128 var rules = CSSLint.getRules();
129 rules.forEach(function(rule) {
130 api.print(rule.id + "\n " + rule.desc + "\n");
131 });
132 }
133
134 /**
135 * Given a file name and options, run verification and print formatted output.

Callers 1

cliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…