isml-linter
Version:
ISML Linter is a tool for examining if your project's templates follow a specified set of rules defined by your dev team. The available rules can be roughly grouped into:
16 lines (10 loc) • 326 B
JavaScript
const run = path => {
const IsmlLinter = require('./IsmlLinter');
const ConsoleUtils = require('./util/ConsoleUtils');
const lintResults = IsmlLinter.run(path);
ConsoleUtils.displayOccurrenceList(lintResults);
return lintResults.issueQty > 0 ? 1 : 0;
};
module.exports = {
run
};