lint-impl.js 648 B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. /**
  4. * @license
  5. * Copyright Google Inc. All Rights Reserved.
  6. *
  7. * Use of this source code is governed by an MIT-style license that can be
  8. * found in the LICENSE file at https://angular.io/license
  9. */
  10. const architect_command_1 = require("../models/architect-command");
  11. class LintCommand extends architect_command_1.ArchitectCommand {
  12. constructor() {
  13. super(...arguments);
  14. this.target = 'lint';
  15. this.multiTarget = true;
  16. }
  17. async run(options) {
  18. return this.runArchitectTarget(options);
  19. }
  20. }
  21. exports.LintCommand = LintCommand;