Alan Agius fed47b00cb refactor(@angular-devkit/schematics): deprecate TslintFixTask and it's options option
As part of tslint deprecation we are also deprecated the TslintFixTask. Users should use `ng lint --fix` directly instead
2020-10-07 11:12:58 -04:00

30 lines
838 B
TypeScript

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { JsonObject } from '@angular-devkit/core';
/** @deprecated since version 11. Use `ng lint --fix` directly instead. */
export const TslintFixName = 'tslint-fix';
/** @deprecated since version 11. Use `ng lint --fix` directly instead. */
export interface TslintFixTaskOptionsBase {
silent?: boolean;
format?: string;
tsConfigPath?: string;
ignoreErrors?: boolean;
includes?: string | string[];
files?: string | string[];
tslintPath?: string;
tslintConfig?: JsonObject;
}
/** @deprecated since version 11. Use `ng lint --fix` directly instead. */
export type TslintFixTaskOptions = TslintFixTaskOptionsBase;