Rel1cx/eslint-react (@eslint-react/eslint-plugin)
### [`v1.14.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1140-Tue-10-Sep-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.13.1...v1.14.0)
##### π Fixes
- Fixed mono plugins missing default export.
- Fixed component name detection when the component name starts with a underscore.
##### πͺ Improvements
- Update `@typescript-eslint`'s packages to `^8.5.0`.
### [`v1.13.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1131-Mon-09-Sep-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.13.0...v1.13.1)
##### π Fixes
- Fixed `hooks-extra/no-unnecessary-use-callback` and `hooks-extra/no-unnecessary-use-memo` false positives when there are references from nested scopes.
### [`v1.13.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1130-Wed-04-Sep-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.4...v1.13.0)
##### β¨ New
- Added `web-api/no-leaked-resize-observer` rule to prevent leaked `ResizeObserver`.
##### π Fixes
- `hooks-extra/no-redundant-custom-hook` should allow custom hooks with empty body.
##### πͺ Improvements
- Rename `debug/react-hooks` to `debug/hook`.
- Rename `hooks-extra/ensure-custom-using-hooks` to `hooks-extra/no-redundant-custom-hook`.
- Rename `hooks-extra/ensure-use-memo-has-non-empty-deps` to `hooks-extra/no-unnecessary-use-memo`.
- Rename `hooks-extra/ensure-use-callback-has-non-empty-deps` to `hooks-extra/no-unnecessary-use-callback`.
- Upgrade `@typescript-eslint`'s packages to `^8.4.0`.
(The rules that were renamed in this release will still be available until the next major update to avoid breaking changes.)
### [`v1.12.4`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1124-Sat-31-Aug-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.3...v1.12.4)
##### β¨ New
- Added `useLayoutEffect` and `useInsertionEffect` support to `hooks-extra/no-direct-set-state-in-use-effect`.
##### πͺ Improvements
- Deprecate rule `hooks-extra/no-direct-set-state-in-use-layout-effect` in favor of `hooks-extra/no-direct-set-state-in-use-effect` (the previous rule will still be available until the next major update to avoid breaking changes).
### [`v1.12.3`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1123-Thu-29-Aug-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.2...v1.12.3)
##### β¨ New
- Added support for detecting event listeners removed by abort signal in rule `web-api/no-leaked-event-listener`.
##### π Fixes
- Fixed `no-duplicate-key` rule false positives when the key is an variable.
- Fixed `web-api/no-leaked-set-timeout` and `web-api/no-leaked-set-interval` false positives when a timer is assigned to a variable declared by `let` but not initialized.
### [`v1.12.2`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1122-Tue-27-Aug-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.1...v1.12.2)
##### β¨ New
- Added type declarations for `react-x` settings to the `@typescript-eslint/utils/ts-eslint` module via the `SharedConfigurationSettings` interface.
##### πͺ Improvements
- Improve the performance of the `no-missing-key` and `no-duplicate-key` rules.
- Upgrade `@typescript-eslint`'s packages to `^8.3.0`.
### [`v1.12.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1121-Thu-22-Aug-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.0...v1.12.1)
##### β¨ New
- Add the options `allowAllCaps`, `allowNamespace`, `allowLeadingUnderscore` to `naming-convention/component-name` and set their default values to `false`.
##### πͺ Improvements
- Normalize the component name in rule `naming-convention/component-name` before checking it against the pattern.
### [`v1.12.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1120-Wed-21-Aug-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.11.0...v1.12.0)
##### β¨ New
- Added `hooks-extra` rules to `recommended` and `recommended-legacy` presets.
### [`v1.11.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1110-Tue-20-Aug-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.10.1...v1.11.0)
##### β¨ New
- Added `eslint-plugin-react-web-api` - A plugin that provides rules for interacting with Web APIs in React applications.
- Added `web-api/no-leaked-timeout` rule to prevent leaked `setTimeout`.
- Added `web-api/no-leaked-interval` rule to prevent leaked `setInterval`.
- Added `web-api/no-leaked-event-listener` rule to prevent leaked `addEventListener`.
- Added `web-api` and `web-api-legacy` presets to enable all rules provided by `eslint-plugin-react-web-api`.
- Added `react-web-api/no-leaked-event-listener` to `recommended` and `recommended-legacy` presets.
##### πͺ Improvements
- Improve performance by skipping unnecessary checks when possible.
- Improve dts generation of the `@eslint-react/eslint-plugin` package.
- Improve website and documentation.
- Upgrade `@typescript-eslint`'s packages to `^8.2.0`.
### [`v1.10.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1101-Tue-13-Aug-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.10.0...v1.10.1)
##### π Fixes
- Fixed `hooks-extra/prefer-use-state-lazy-initialization` false positive when using an initializer function.
##### πͺ Improvements
- Improve rule `no-implicit-key` error marker position and range.
- Upgrade `@typescript-eslint`'s packages to `^8.1.0`.
- Improve website and documentation.
### [`v1.10.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1100-Sun-11-Aug-2024)
[Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.9.1...v1.10.0)
##### β¨ New
- Add `disable-type-checked` and `disable-type-checked-legacy` presets to disable all type-checked rules.
##### πͺ Improvements
- Rename `off-dom` and `off-dom-legacy` presets to `disable-dom` and `disable-dom-legacy` (the old names will still be available until the next major update to avoid breaking changes).
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.9.1
->1.14.0
Release Notes
Rel1cx/eslint-react (@eslint-react/eslint-plugin)
### [`v1.14.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1140-Tue-10-Sep-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.13.1...v1.14.0) ##### π Fixes - Fixed mono plugins missing default export. - Fixed component name detection when the component name starts with a underscore. ##### πͺ Improvements - Update `@typescript-eslint`'s packages to `^8.5.0`. ### [`v1.13.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1131-Mon-09-Sep-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.13.0...v1.13.1) ##### π Fixes - Fixed `hooks-extra/no-unnecessary-use-callback` and `hooks-extra/no-unnecessary-use-memo` false positives when there are references from nested scopes. ### [`v1.13.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1130-Wed-04-Sep-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.4...v1.13.0) ##### β¨ New - Added `web-api/no-leaked-resize-observer` rule to prevent leaked `ResizeObserver`. ##### π Fixes - `hooks-extra/no-redundant-custom-hook` should allow custom hooks with empty body. ##### πͺ Improvements - Rename `debug/react-hooks` to `debug/hook`. - Rename `hooks-extra/ensure-custom-using-hooks` to `hooks-extra/no-redundant-custom-hook`. - Rename `hooks-extra/ensure-use-memo-has-non-empty-deps` to `hooks-extra/no-unnecessary-use-memo`. - Rename `hooks-extra/ensure-use-callback-has-non-empty-deps` to `hooks-extra/no-unnecessary-use-callback`. - Upgrade `@typescript-eslint`'s packages to `^8.4.0`. (The rules that were renamed in this release will still be available until the next major update to avoid breaking changes.) ### [`v1.12.4`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1124-Sat-31-Aug-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.3...v1.12.4) ##### β¨ New - Added `useLayoutEffect` and `useInsertionEffect` support to `hooks-extra/no-direct-set-state-in-use-effect`. ##### πͺ Improvements - Deprecate rule `hooks-extra/no-direct-set-state-in-use-layout-effect` in favor of `hooks-extra/no-direct-set-state-in-use-effect` (the previous rule will still be available until the next major update to avoid breaking changes). ### [`v1.12.3`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1123-Thu-29-Aug-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.2...v1.12.3) ##### β¨ New - Added support for detecting event listeners removed by abort signal in rule `web-api/no-leaked-event-listener`. ##### π Fixes - Fixed `no-duplicate-key` rule false positives when the key is an variable. - Fixed `web-api/no-leaked-set-timeout` and `web-api/no-leaked-set-interval` false positives when a timer is assigned to a variable declared by `let` but not initialized. ### [`v1.12.2`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1122-Tue-27-Aug-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.1...v1.12.2) ##### β¨ New - Added type declarations for `react-x` settings to the `@typescript-eslint/utils/ts-eslint` module via the `SharedConfigurationSettings` interface. ##### πͺ Improvements - Improve the performance of the `no-missing-key` and `no-duplicate-key` rules. - Upgrade `@typescript-eslint`'s packages to `^8.3.0`. ### [`v1.12.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1121-Thu-22-Aug-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.12.0...v1.12.1) ##### β¨ New - Add the options `allowAllCaps`, `allowNamespace`, `allowLeadingUnderscore` to `naming-convention/component-name` and set their default values to `false`. ##### πͺ Improvements - Normalize the component name in rule `naming-convention/component-name` before checking it against the pattern. ### [`v1.12.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1120-Wed-21-Aug-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.11.0...v1.12.0) ##### β¨ New - Added `hooks-extra` rules to `recommended` and `recommended-legacy` presets. ### [`v1.11.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1110-Tue-20-Aug-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.10.1...v1.11.0) ##### β¨ New - Added `eslint-plugin-react-web-api` - A plugin that provides rules for interacting with Web APIs in React applications. - Added `web-api/no-leaked-timeout` rule to prevent leaked `setTimeout`. - Added `web-api/no-leaked-interval` rule to prevent leaked `setInterval`. - Added `web-api/no-leaked-event-listener` rule to prevent leaked `addEventListener`. - Added `web-api` and `web-api-legacy` presets to enable all rules provided by `eslint-plugin-react-web-api`. - Added `react-web-api/no-leaked-event-listener` to `recommended` and `recommended-legacy` presets. ##### πͺ Improvements - Improve performance by skipping unnecessary checks when possible. - Improve dts generation of the `@eslint-react/eslint-plugin` package. - Improve website and documentation. - Upgrade `@typescript-eslint`'s packages to `^8.2.0`. ### [`v1.10.1`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1101-Tue-13-Aug-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.10.0...v1.10.1) ##### π Fixes - Fixed `hooks-extra/prefer-use-state-lazy-initialization` false positive when using an initializer function. ##### πͺ Improvements - Improve rule `no-implicit-key` error marker position and range. - Upgrade `@typescript-eslint`'s packages to `^8.1.0`. - Improve website and documentation. ### [`v1.10.0`](https://redirect.github.com/Rel1cx/eslint-react/blob/HEAD/CHANGELOG.md#v1100-Sun-11-Aug-2024) [Compare Source](https://redirect.github.com/Rel1cx/eslint-react/compare/v1.9.1...v1.10.0) ##### β¨ New - Add `disable-type-checked` and `disable-type-checked-legacy` presets to disable all type-checked rules. ##### πͺ Improvements - Rename `off-dom` and `off-dom-legacy` presets to `disable-dom` and `disable-dom-legacy` (the old names will still be available until the next major update to avoid breaking changes).Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.