tslint-react
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "tslint-react", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Lint rules related to React & JSX for TSLint", | ||
@@ -5,0 +5,0 @@ "main": "tslint-react.json", |
@@ -46,2 +46,5 @@ [![NPM version](https://badge.fury.io/js/tslint-react.svg)](https://www.npmjs.com/package/tslint-react) | ||
``` | ||
- `jsx-curly-spacing` (since v1.1.0) | ||
- Requires _or_ bans spaces between curly brace characters in JSX. | ||
- Rule options: `["always", "never"]` | ||
- `jsx-no-lambda` | ||
@@ -72,1 +75,6 @@ - Creating new anonymous functions (with either the `function` syntax or ES2015 arrow syntax) inside the `render` call stack works against _pure component rendering_. When doing an equality check between two lambdas, React will always consider them unequal values and force the component to re-render more often than necessary. | ||
We're happy to accept PRs for new rules, especially those marked as [Status: Accepting PRs](https://github.com/palantir/tslint-react/issues?q=is%3Aissue+is%3Aopen+label%3A%22Status%3A+Accepting+PRs%22). If submitting a PR, try to follow the same style conventions as the [core TSLint project](https://github.com/palantir/tslint). | ||
### Changelog | ||
See the Github [release history](https://github.com/palantir/tslint-react/releases). | ||
34264
17
699
79