2016-08-25 10:06:54 -07:00

18 lines
407 B
TypeScript

import * as Command from 'ember-cli/lib/models/command';
import * as LintTask from '../tasks/lint';
module.exports = Command.extend({
name: 'lint',
description: 'Lints code in existing project',
works: 'insideProject',
run: function () {
const lintTask = new LintTask({
ui: this.ui,
analytics: this.analytics,
project: this.project
});
return lintTask.run();
}
});