Skip to content

Commit 673b599

Browse files
committed
Issue #424 on-destroy rule not listed in README.md
1 parent 9c87ab5 commit 673b599

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ These rules help you to enforce the usage of angular wrappers.
179179
* [typecheck-string](docs/typecheck-string.md) - use `angular.isString` instead of `typeof` comparisons
180180
* [window-service](docs/window-service.md) - use `$window` instead of `window` ([y180](https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md#style-y180))
181181
182+
### Misspelling
183+
184+
These rules help you avoiding misspellings.
185+
186+
* [on-destroy](docs/on-destroy.md) - Check for common misspelling $on('destroy', ...).
187+
182188
183189
----
184190

scripts/ruleCategories.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"angularWrapper",
99
"deprecatedRule",
1010
"removedRule",
11-
"uncategorizedRule"
11+
"uncategorizedRule",
12+
"misspelling"
1213
],
1314
"categories": {
1415
"possibleError": {
@@ -35,6 +36,10 @@
3536
"headline": "Angular Wrappers",
3637
"description": "These rules help you to enforce the usage of angular wrappers."
3738
},
39+
"misspelling": {
40+
"headline": "Misspelling",
41+
"description": "These rules help you avoiding misspellings."
42+
},
3843
"deprecatedRule": {
3944
"headline": "Deprecated rules",
4045
"description": "These rules will be removed in version 1.0.0"

0 commit comments

Comments
 (0)