Skip to content

Commit

Permalink
fix(@schematics/angular): clarify tslint:recommended warning message
Browse files Browse the repository at this point in the history
Closes: #17311
  • Loading branch information
alan-agius4 authored and kyliau committed Mar 30, 2020
1 parent f902f49 commit 7fb34dc
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -129,8 +129,8 @@ export default function (): Rule {
(extendsAst.kind === 'string' && extendsAst.value !== 'tslint:recommended') ||
(extendsAst.kind === 'array' && extendsAst.elements.some(e => e.value !== 'tslint:recommended'))
) {
logger.warn(`tslint configuration does not extend "tslint:recommended".`
+ '\nMigration will terminate as some rules might conflict.');
logger.warn(`tslint configuration does not extend "tslint:recommended" or it extends multiple configurations.`
+ '\nSkipping rule changes as some rules might conflict.');

return;
}
Expand Down

0 comments on commit 7fb34dc

Please sign in to comment.