Skip to content

Commit

Permalink
Merge pull request #324 from wKoza/gh323_ng_template_metadata
Browse files Browse the repository at this point in the history
fix(Rule): templateToNgTemplateRule metadata property
  • Loading branch information
mgechev authored Jun 14, 2017
2 parents c3b76c6 + a4d73cc commit 20f9a07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/templateToNgTemplateRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ class TemplateToNgTemplateVisitor extends BasicTemplateAstVisitor {

export class Rule extends Lint.Rules.AbstractRule {
public static metadata: Lint.IRuleMetadata = {
ruleName: 'templates-use-public-rule',
ruleName: 'template-to-ng-template',
type: 'functionality',
description: `Ensure that properties and methods accessed from the template are public.`,
rationale: `When Angular compiles the templates, it has to access these propertes from outside the class.`,
description: `Ensure that <ng-template> is used instance of <template>.`,
rationale: `Since Angular 4.0, <template> is deprecated.`,
options: null,
optionsDescription: `Not configurable.`,
typescriptOnly: true,
Expand Down

0 comments on commit 20f9a07

Please sign in to comment.