tslint-immutable
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -9,2 +9,9 @@ # Change Log | ||
## [v3.4.2] - 2017-05-14 | ||
### Added | ||
- Notice in readme about deprecrating the `no-new` rule. | ||
### Deprecated | ||
- The `no-new` rule. See [#2](https://github.com/jonaskello/tslint-immutable/issues/2) for background. | ||
## [v3.4.1] - 2017-05-14 | ||
@@ -105,3 +112,4 @@ ### Added | ||
[Unreleased]: https://github.com/jonaskello/tslint-immutable/compare/v3.4.1...master | ||
[Unreleased]: https://github.com/jonaskello/tslint-immutable/compare/v3.4.2...master | ||
[v3.4.2]: https://github.com/jonaskello/tslint-immutable/compare/v3.4.1...v3.4.2 | ||
[v3.4.1]: https://github.com/jonaskello/tslint-immutable/compare/v3.4.0...v3.4.1 | ||
@@ -108,0 +116,0 @@ [v3.4.0]: https://github.com/jonaskello/tslint-immutable/compare/v3.3.2...v3.4.0 |
{ | ||
"name": "tslint-immutable", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "TSLint rules to disable mutation in TypeScript.", | ||
@@ -5,0 +5,0 @@ "main": "tslint-immutable.json", |
@@ -188,3 +188,9 @@ # tslint-immutable | ||
### no-this, no-class, no-new | ||
### no-new | ||
> **NOTE: This rule is deprecated and will be removed in the next major release. Please see background in [#2](https://github.com/jonaskello/tslint-immutable/issues/2).** | ||
This rule disallows the use of the `new` keyword. | ||
### no-this, no-class | ||
Thanks to libraries like [recompose](https://github.com/acdlite/recompose) and Redux's [React Container components](http://redux.js.org/docs/basics/UsageWithReact.html), there's not much reason to build Components using `React.createClass` or ES6 classes anymore. The `no-this` rule makes this explicit. | ||
@@ -191,0 +197,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74024
383