diff --git a/CHANGELOG.md b/CHANGELOG.md index 2714de0fa4..348c3389ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,17 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange ## Unreleased +## [7.37.1] - 2024.10.01 + +### Fixed +* [meta] do not npmignore `d.ts` files ([#3836][] @ljharb) + +### Changed +* [readme] Fix shared settings link ([#3834][] @MgenGlder) + +[#3836]: https://github.com/jsx-eslint/eslint-plugin-react/issues/3836 +[#3834]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3834 + ## [7.37.0] - 2024.09.26 ### Added diff --git a/README.md b/README.md index 26cc5b0a75..3c3cd24e3f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,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/jsx-eslint/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)) +You should also specify settings that will be shared across all the plugin rules. ([More about eslint shared settings](https://eslint.org/docs/latest/use/configure/configuration-files#configuring-shared-settings)) ```json5 { diff --git a/package.json b/package.json index b9b82dc03a..7e0be6c9b0 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,10 @@ { "name": "eslint-plugin-react", - "version": "7.37.0", + "version": "7.37.1", "author": "Yannick Croissant ", "description": "React specific linting rules for ESLint", "main": "index.js", + "types": "index.d.ts", "scripts": { "clean-built-types": "rm -f $(find . -maxdepth 1 -type f -name '*.d.ts*') $(find lib -type f -name '*.d.ts*' ! -name 'types.d.ts')", "prebuild-types": "npm run clean-built-types", @@ -109,7 +110,9 @@ "tsconfig.json", "build.tsconfig.json", ".markdownlint*", - "types" + "types", + "!*.d.ts", + "!*.d.ts.map" ] } }