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

Function validateOptions

src/cli/common.js:290–298  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

288 }
289
290 function validateOptions(options) {
291 for (var optionKey in options) {
292 if (!globalOptions.hasOwnProperty(optionKey) && optionKey !== "files") {
293 api.print(optionKey + " is not a valid option. Exiting...");
294 outputHelp();
295 api.quit(0);
296 }
297 }
298 }
299
300 function readConfigFile(config) {
301 var csslintrc = config || ".csslintrc",

Callers 1

cliFunction · 0.85

Calls 1

outputHelpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…