MCPcopy
hub / github.com/csscomb/csscomb.js / lintDirectory

Method lintDirectory

src/core.js:82–86  ·  view source on GitHub ↗

* Lints all files in a directory. * * @param {String} path * @returns {Promise}

(path)

Source from the content-addressed store, hash-verified

80 * @returns {Promise}
81 */
82 lintDirectory(path) {
83 let files = this._getAcceptableFilesFromDirectory(path);
84 let promises = files.map((file) => this.lintFile(file));
85 return Promise.all(promises);
86 }
87
88 /**
89 * Lints a single file.

Callers 1

lintPathMethod · 0.95

Calls 2

lintFileMethod · 0.95

Tested by

no test coverage detected