Skip to content

Commit ccf3c35

Browse files
tatsushitojiljharb
authored andcommitted
[readme] change jsx-runtime link from branch to sha
1 parent 6a40d48 commit ccf3c35

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1111
### Fixed
1212
* [`prop-types`], `propTypes`: add support for exported type inference ([#3163][] @vedadeepta)
1313

14+
### Changed
15+
* [readme] change [`jsx-runtime`] link from branch to sha ([#3160][] @tatsushitoji)
16+
1417
[#3163]: https://github.com/yannickcr/eslint-plugin-react/pull/3163
18+
[#3160]: https://github.com/yannickcr/eslint-plugin-react/pull/3160
1519
[#2921]: https://github.com/yannickcr/eslint-plugin-react/pull/2921
1620

1721
## [7.28.0] - 2021.12.22

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Use [our preset](#recommended) to get reasonable defaults:
3131
]
3232
```
3333

34-
If you are using the [new JSX transform from React 17](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html#removing-unused-react-imports), extend [`react/jsx-runtime`](https://github.com/yannickcr/eslint-plugin-react/blob/HEAD/index.js#L163-L176) in your eslint config (add `"plugin:react/jsx-runtime"` to `"extends"`) to disable the relevant rules.
34+
If you are using the [new JSX transform from React 17](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html#removing-unused-react-imports), extend [`react/jsx-runtime`](https://github.com/yannickcr/eslint-plugin-react/blob/c8917b0885094b5e4cc2a6f613f7fb6f16fe932e/index.js#L163-L176) in your eslint config (add `"plugin:react/jsx-runtime"` to `"extends"`) to disable the relevant rules.
3535

3636
You should also specify settings that will be shared across all the plugin rules. ([More about eslint shared settings](https://eslint.org/docs/user-guide/configuring/configuration-files#adding-shared-settings))
3737

0 commit comments

Comments
 (0)