Skip to content

Commit

Permalink
refactor(rule): add deprecation message for 'angular-whitespace' (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelss95 authored and mgechev committed Feb 17, 2019
1 parent 3a7b15d commit bc5a7ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/angularWhitespaceRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ class TemplateExpressionVisitor extends RecursiveAngularExpressionVisitor {

export class Rule extends Lint.Rules.AbstractRule {
static readonly metadata: Lint.IRuleMetadata = {
deprecationMessage: 'Use a formatter like Prettier for formatting purposes.',
description: 'Ensures the proper formatting of Angular expressions.',
hasFix: true,
optionExamples: [
Expand Down

0 comments on commit bc5a7ec

Please sign in to comment.