From ccf3c35c2d6c23c74969fd7417ec88320636a92c Mon Sep 17 00:00:00 2001 From: Tatsushi Toji <28854043+tatsushitoji@users.noreply.github.com> Date: Wed, 22 Dec 2021 17:16:15 +0900 Subject: [PATCH] [readme] change `jsx-runtime` link from branch to sha --- CHANGELOG.md | 4 ++++ README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8f51603b9..2869fe3d96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,11 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel ### Fixed * [`prop-types`], `propTypes`: add support for exported type inference ([#3163][] @vedadeepta) +### Changed +* [readme] change [`jsx-runtime`] link from branch to sha ([#3160][] @tatsushitoji) + [#3163]: https://github.com/yannickcr/eslint-plugin-react/pull/3163 +[#3160]: https://github.com/yannickcr/eslint-plugin-react/pull/3160 [#2921]: https://github.com/yannickcr/eslint-plugin-react/pull/2921 ## [7.28.0] - 2021.12.22 diff --git a/README.md b/README.md index 83d875d267..13e28d6b8a 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Use [our preset](#recommended) to get reasonable defaults: ] ``` -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. +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. 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))