Skip to content

Commit d21a95e

Browse files
authored
v2.4.0 (#68)
1 parent 5383a3c commit d21a95e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Sample configuration where `tslint.json` lives adjacent to your `node_modules` f
5959
- Passing strings to the `ref` prop of React elements is considered a legacy feature and will soon be deprecated.
6060
Instead, [use a callback](https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute).
6161
- Rule options: _none_
62-
- `jsx-use-translation-function` (since v2.3.1)
62+
- `jsx-use-translation-function` (since v2.4.0)
6363
- Enforces use of a translation function. Plain string literals are disallowed in JSX when enabled.
6464
- Rule options: _none_
6565
- Off by default
@@ -76,6 +76,7 @@ Sample configuration where `tslint.json` lives adjacent to your `node_modules` f
7676
- Enforces that multiline JSX expressions are wrapped with parentheses.
7777
- Opening parenthesis must be followed by a newline.
7878
- Closing parenthesis must be preceded by a newline.
79+
- Off by default
7980
```ts
8081
// bad
8182
const button = <button type="submit">

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tslint-react",
3-
"version": "2.3.0",
3+
"version": "2.4.0",
44
"description": "Lint rules related to React & JSX for TSLint",
55
"main": "tslint-react.json",
66
"repository": {

0 commit comments

Comments
 (0)