Commit ab529b7
chore(blueprints): update codelyzer
This version includes template support and is compatible with the latest changes in the TemplateParser introduced by Angular 2.0.2.
The following new rules are introduced:
```
// Does not allow access to private & protected
// in inline templates
"templates-use-public": true,
// Makes sure `@Injectable()` is invoked and not
// used as `@Injectable`.
"invoke-injectable": true
```
There's one more rule which verifies if all members accessed in templates are defined in the component's controller but doesn't check the inheritance chain so I'll open a PR for it once we have the entire functionality implemented.
Close angular#26151 parent f7bf0aa commit ab529b7
File tree
2 files changed
+4
-2
lines changed- packages/angular-cli/blueprints/ng2/files
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
0 commit comments