-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(@angular/cli): update tslint on updating prefix #5908
Conversation
8147d8e
to
63d0dd1
Compare
I think a flag on the set command to disable any secondary effects such as this would be useful. For example, someone might have a more complicated linting setup with cascading configs and wouldn't want the root config modified. |
const appConfig = getAppFromConfig(this.options.app); | ||
if (options.prefix && appConfig.prefix && appConfig.prefix !== options.prefix) { | ||
console.log(chalk.yellow(oneLine`You are using different prefix from app, | ||
you might get lint errors. Please update "tslint.json" to remove those.`)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to read:
Please update "tslint.json" accordingly.
const appConfig = getAppFromConfig(this.options.app); | ||
if (options.prefix && appConfig.prefix && appConfig.prefix !== options.prefix) { | ||
console.log(chalk.yellow(oneLine`You are using different prefix from app, | ||
you might get lint errors. Please update "tslint.json" to remove those.`)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to read:
Please update "tslint.json" accordingly.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes: #5794