A series of composable ESLint plugins for libraries and frameworks that use React as a UI runtime.
MIT License
Bot releases are hidden (Show)
Published by Rel1cx 18 days ago
@typescript-eslint
's packages to ^8.7.0
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.14.2...v1.14.3
Published by Rel1cx 27 days ago
@typescript-eslint
's packages to ^8.6.0
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.14.1...v1.14.2
Published by Rel1cx about 1 month ago
web-api/no-leaked-resize-observer
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.14.0...v1.14.1
@typescript-eslint
's packages to ^8.5.0
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.13.1...v1.14.0
Published by Rel1cx about 1 month ago
hooks-extra/no-unnecessary-use-callback
and hooks-extra/no-unnecessary-use-memo
false positives when there are references from nested scopes.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.13.0...v1.13.1
Published by Rel1cx about 1 month ago
web-api/no-leaked-resize-observer
rule to prevent leaked ResizeObserver
.hooks-extra/no-redundant-custom-hook
should allow custom hooks with empty body.debug/react-hooks
to debug/hook
.hooks-extra/ensure-custom-using-hooks
to hooks-extra/no-redundant-custom-hook
.hooks-extra/ensure-use-memo-has-non-empty-deps
to hooks-extra/no-unnecessary-use-memo
.hooks-extra/ensure-use-callback-has-non-empty-deps
to hooks-extra/no-unnecessary-use-callback
.@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.)
Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.12.4...v1.13.0
Published by Rel1cx about 2 months ago
useLayoutEffect
and useInsertionEffect
support to hooks-extra/no-direct-set-state-in-use-effect
.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).Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.12.3...v1.12.4
Published by Rel1cx about 2 months ago
web-api/no-leaked-event-listener
.no-duplicate-key
rule false positives when the key is an variable.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.naming-convention/component-name
when the component name is less than 4 characters, e.g. UI
, CSS
, SVG
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.12.2...v1.12.3
Published by Rel1cx about 2 months ago
react-x
settings to the @typescript-eslint/utils/ts-eslint
module via the SharedConfigurationSettings
interface.no-missing-key
and no-duplicate-key
rules.@typescript-eslint
's packages to ^8.3.0
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.12.1...v1.12.2
Published by Rel1cx about 2 months ago
allowAllCaps
, allowNamespace
, allowLeadingUnderscore
to naming-convention/component-name
and set their default values to false
.naming-convention/component-name
before checking it against the pattern.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.12.0...v1.12.1
Published by Rel1cx about 2 months ago
hooks-extra
rules to recommended
and recommended-legacy
presets.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.11.0...v1.12.0
Published by Rel1cx about 2 months ago
eslint-plugin-react-web-api
- A plugin that provides rules for interacting with Web APIs in React applications.web-api/no-leaked-timeout
rule to prevent leaked setTimeout
.web-api/no-leaked-interval
rule to prevent leaked setInterval
.web-api/no-leaked-event-listener
rule to prevent leaked addEventListener
.web-api
and web-api-legacy
presets to enable all rules provided by eslint-plugin-react-web-api
.react-web-api/no-leaked-event-listener
to recommended
and recommended-legacy
presets.@eslint-react/eslint-plugin
package.@typescript-eslint
's packages to ^8.2.0
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.10.1...v1.11.0
Published by Rel1cx 2 months ago
hooks-extra/prefer-use-state-lazy-initialization
false positive when using an initializer function.no-implicit-key
error marker position and range.@typescript-eslint
's packages to ^8.1.0
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.10.0...v1.10.1
Published by Rel1cx 2 months ago
disable-type-checked
and disable-type-checked-legacy
presets to disable all type-checked rules.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).Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.9.1...v1.10.0
Published by Rel1cx 2 months ago
dom/no-missing-iframe-sandbox
false positive when the sandbox
attribute is set to sandbox=""
.all
and all-legacy
presets not including hooks-extra
rules.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.9.0...v1.9.1
Published by Rel1cx 2 months ago
core
preset that includes the most essential rules.@typescript-eslint
's packages to 8.0.1
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.8.1...v1.9.0
Published by Rel1cx 3 months ago
@eslint-react/eslint-plugin
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.8.1...v1.8.2
Published by Rel1cx 3 months ago
hooks-extra/no-direct-set-state-in-use-effect
and hooks-extra/no-direct-set-state-in-use-layout-effect
to support set
function directly passed to useCallback
and useMemo
without explicitly calling it.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.8.0...v1.8.1
Published by Rel1cx 3 months ago
ESLintReactSettings
type not being exported correctly.set
function calls that are wrapped in a useMemo
or useCallback
like hook not being detected by hooks-extra/no-direct-set-state-in-use-effect
and hooks-extra/no-direct-set-state-in-use-layout-effect
.@typescript-eslint
's packages to 8.0.0
.Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.7.1...v1.8.0
Published by Rel1cx 3 months ago
no-leaked-conditional-rendering
now allows a falsy boolean literal to be used on the left side of the logical expression. by @AhmedBaset in https://github.com/Rel1cx/eslint-react/pull/672
Full Changelog: https://github.com/Rel1cx/eslint-react/compare/v1.7.0...v1.7.1