source: trip-planner-front/node_modules/@angular/cli/commands/lint-impl.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 965 bytes
Line 
1"use strict";
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9Object.defineProperty(exports, "__esModule", { value: true });
10exports.LintCommand = void 0;
11const architect_command_1 = require("../models/architect-command");
12const MissingBuilder = `
13Cannot find "lint" target for the specified project.
14
15You should add a package that implements linting capabilities.
16
17For example:
18 ng add @angular-eslint/schematics
19`;
20class LintCommand extends architect_command_1.ArchitectCommand {
21 constructor() {
22 super(...arguments);
23 this.target = 'lint';
24 this.multiTarget = true;
25 this.missingTargetError = MissingBuilder;
26 }
27 async initialize(options) {
28 if (!options.help) {
29 return super.initialize(options);
30 }
31 }
32}
33exports.LintCommand = LintCommand;
Note: See TracBrowser for help on using the repository browser.