Skip to content

Commit

Permalink
docs: add no-life-cycle-call
Browse files Browse the repository at this point in the history
  • Loading branch information
mgechev committed Apr 23, 2018
1 parent b63d8a0 commit edf41fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- `prefer-output-readonly` requires the `@Output`s of a component to be `readonly`. Credits to [rafaelss95](https://github.com/rafaelss95) [#515](https://github.com/mgechev/codelyzer/issues/515) [3d652d1](https://github.com/mgechev/codelyzer/commit/3d652d13b447fabf333c994506990638ac72fcd8).
- `no-conflicting-life-cycle-hooks` prevents to implement OnChanges and DoCheck on the same class. Credits to [rafaelss95](https://github.com/rafaelss95) [#560](https://github.com/mgechev/codelyzer/issues/560) [e521115](https://github.com/mgechev/codelyzer/commit/e521115bc6fed7521f83e72b6946a05ef87dfea3).
- `enforce-component-selector` Component Selector Required [#551](https://github.com/mgechev/codelyzer/issues/551) [b9c899b](https://github.com/mgechev/codelyzer/commit/b9c899bef14fa12d2fb8bddbaaa9da86426a80cb). Credits to [wKoza](https://github.com/wKoza).
- `no-life-cycle-call` disallow explicit calls to lifecycle hooks [#427](https://github.com/mgechev/codelyzer/issues/427) [3e10013](https://github.com/mgechev/codelyzer/commit/3e1001385a1b140633f35b2a1234032b8b9c41a2)

## Bug Fixes

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Create the following `tslint.json` file like:
"directive-selector": [true, "attribute", "sg", "camelCase"],
"component-selector": [true, "element", "sg", "kebab-case"],
"max-inline-declarations": true,
"no-life-cycle-call": true,
"prefer-output-readonly": true,
"no-conflicting-life-cycle-hooks": true,
"enforce-component-selector": true,
Expand Down Expand Up @@ -156,6 +157,7 @@ Now create the following `tslint.json` file where your `node_modules` directory
"directive-selector": [true, "attribute", "sg", "camelCase"],
"component-selector": [true, "element", "sg", "kebab-case"],
"max-inline-declarations": true,
"no-life-cycle-call": true,
"prefer-output-readonly": true,
"no-conflicting-life-cycle-hooks": true,
"enforce-component-selector": true,
Expand Down Expand Up @@ -266,6 +268,7 @@ Below you can find a recommended configuration which is based on the [Angular St
"use-pipe-transform-interface": true,
"no-output-named-after-standard-event": true,
"max-inline-declarations": true,
"no-life-cycle-call": true,
"prefer-output-readonly": true,
"no-conflicting-life-cycle-hooks": true,
"enforce-component-selector": true,
Expand Down Expand Up @@ -310,6 +313,7 @@ Below you can find a recommended configuration which is based on the [Angular St
| `prefer-output-readonly` | Stable |
| `no-conflicting-life-cycle-hooks` | Stable |
| `enforce-component-selector` | Stable |
| `no-life-cycle-call` | Stable |
| `i18n` | *Experimental* |
| `no-unused-css` | *Experimental* |
| `angular-whitespace` | *Experimental* |
Expand Down

0 comments on commit edf41fe

Please sign in to comment.