Skip to content

Commit e2bce24

Browse files
aboytonmgechev
authored andcommitted
docs: update docs with all new 5.0 names (#866)
1 parent 355249f commit e2bce24

21 files changed

Lines changed: 52 additions & 52 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
ruleName: banana-in-box
2+
ruleName: template-banana-in-box
33
type: functionality
44
description: Ensure that the two-way data binding syntax is correct.
55
rationale: 'The parens "()" should have been inside the brackets "[]".'
@@ -8,6 +8,6 @@
88
typescriptOnly: true
99
hasFix: true
1010
layout: rule
11-
title: 'Rule: banana-in-box'
11+
title: 'Rule: template-banana-in-box'
1212
optionsJSON: 'null'
1313
---

docs/rules/contextual-life-cycle/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
rationale: >-
66
Some life cycle methods can only be used in certain class types.For example, ngOnInit() hook method should not be used in an @Injectable
77
class.
8-
ruleName: contextual-life-cycle
8+
ruleName: contextual-lifecycle
99
type: functionality
1010
typescriptOnly: true
1111
layout: rule
12-
title: 'Rule: contextual-life-cycle'
12+
title: 'Rule: contextual-lifecycle'
1313
optionsJSON: 'null'
1414
---

docs/rules/decorator-not-allowed/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
options: null
44
optionsDescription: Not configurable.
55
rationale: 'Some decorators can only be used in certain class types. For example, an @Input should not be used in an @Injectable class.'
6-
ruleName: decorator-not-allowed
6+
ruleName: contextual-decorator
77
type: functionality
88
typescriptOnly: true
99
layout: rule
10-
title: 'Rule: decorator-not-allowed'
10+
title: 'Rule: contextual-decorator'
1111
optionsJSON: 'null'
1212
---
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
ruleName: enforce-component-selector
2+
ruleName: use-component-selector
33
type: style
44
description: Component selector must be declared.
55
rationale: Omit the component selector makes debugging difficult.
66
options: null
77
optionsDescription: Not configurable.
88
typescriptOnly: true
99
layout: rule
10-
title: 'Rule: enforce-component-selector'
10+
title: 'Rule: use-component-selector'
1111
optionsJSON: 'null'
1212
---

docs/rules/i18n/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
One (or both) of the following arguments must be provided:
1919
* `check-id` Makes sure i18n attributes have ID specified
2020
* `check-text` Makes sure there are no elements with text content but no i18n attribute
21-
21+
2222
rationale: Makes the code more maintainable in i18n sense.
23-
ruleName: i18n
23+
ruleName: template-i18n
2424
type: maintainability
2525
typescriptOnly: true
2626
layout: rule
27-
title: 'Rule: i18n'
27+
title: 'Rule: template-i18n'
2828
optionsJSON: |-
2929
{
3030
"items": {

docs/rules/max-inline-declarations/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
* `animations` - number > 0 defining the maximum allowed inline lines for animations. Defaults to 15.
2424
* `styles` - number > 0 defining the maximum allowed inline lines for styles. Defaults to 3.
2525
* `template` - number > 0 defining the maximum allowed inline lines for template. Defaults to 3.
26-
26+
2727
rationale: 'Large, inline templates and styles obscure the component''s purpose and implementation, reducing readability and maintainability.'
28-
ruleName: max-inline-declarations
28+
ruleName: component-max-inline-declarations
2929
type: maintainability
3030
typescriptOnly: true
3131
layout: rule
32-
title: 'Rule: max-inline-declarations'
32+
title: 'Rule: component-max-inline-declarations'
3333
optionsJSON: |-
3434
{
3535
"items": {

docs/rules/no-attribute-parameter-decorator/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
options: null
44
optionsDescription: Not configurable.
55
rationale: '@Attribute is considered bad practice. Use @Input instead.'
6-
ruleName: no-attribute-parameter-decorator
6+
ruleName: no-attribute-decorator
77
type: maintainability
88
typescriptOnly: true
99
layout: rule
10-
title: 'Rule: no-attribute-parameter-decorator'
10+
title: 'Rule: no-attribute-decorator'
1111
optionsJSON: 'null'
1212
---

docs/rules/no-conflicting-life-cycle-hooks/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
A directive typically should not use both DoCheck and OnChanges to respond
99
to changes on the same input, as ngOnChanges will continue to be called when the
1010
default change detector detects changes.
11-
12-
ruleName: no-conflicting-life-cycle-hooks
11+
12+
ruleName: no-conflicting-lifecycle
1313
type: maintainability
1414
typescriptOnly: true
1515
layout: rule
16-
title: 'Rule: no-conflicting-life-cycle-hooks'
16+
title: 'Rule: no-conflicting-lifecycle'
1717
optionsJSON: 'null'
1818
---

docs/rules/no-life-cycle-call/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
options: null
44
optionsDescription: Not configurable.
55
rationale: Explicit calls to life cycle hooks could be confusing. Invoke life cycle hooks is the responsability of Angular.
6-
ruleName: no-life-cycle-call
6+
ruleName: no-lifecycle-call
77
type: maintainability
88
typescriptOnly: true
99
layout: rule
10-
title: 'Rule: no-life-cycle-call'
10+
title: 'Rule: no-lifecycle-call'
1111
optionsJSON: 'null'
1212
---

docs/rules/no-output-named-after-standard-event/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
options: null
44
optionsDescription: Not configurable.
55
rationale: Listeners subscribed to an output with such a name will also be invoked when the native event is raised.
6-
ruleName: no-output-named-after-standard-event
6+
ruleName: no-output-native
77
type: maintainability
88
typescriptOnly: true
99
layout: rule
10-
title: 'Rule: no-output-named-after-standard-event'
10+
title: 'Rule: no-output-native'
1111
optionsJSON: 'null'
1212
---

0 commit comments

Comments
 (0)