Skip to content

Commit

Permalink
v2.4.0 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkillian authored Feb 14, 2017
1 parent 5383a3c commit d21a95e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Sample configuration where `tslint.json` lives adjacent to your `node_modules` f
- Passing strings to the `ref` prop of React elements is considered a legacy feature and will soon be deprecated.
Instead, [use a callback](https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute).
- Rule options: _none_
- `jsx-use-translation-function` (since v2.3.1)
- `jsx-use-translation-function` (since v2.4.0)
- Enforces use of a translation function. Plain string literals are disallowed in JSX when enabled.
- Rule options: _none_
- Off by default
Expand All @@ -76,6 +76,7 @@ Sample configuration where `tslint.json` lives adjacent to your `node_modules` f
- Enforces that multiline JSX expressions are wrapped with parentheses.
- Opening parenthesis must be followed by a newline.
- Closing parenthesis must be preceded by a newline.
- Off by default
```ts
// bad
const button = <button type="submit">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tslint-react",
"version": "2.3.0",
"version": "2.4.0",
"description": "Lint rules related to React & JSX for TSLint",
"main": "tslint-react.json",
"repository": {
Expand Down

0 comments on commit d21a95e

Please sign in to comment.