unstale

npm / @lobehub/lint

@lobehub/lint

What changed in @lobehub/lint 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

11 breaking7 new APIs and options3 behavior and defaults4 tooling6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

@lobehub/lint 231 changes

Breaking changes 11

  • Un-aborted fetch requests are now errors; abort requests on cleanup with an AbortController.

    2.1.7release notes

  • React-hooks violations, including missing hook dependencies, are reported once; use react-hooks/* ids in disable comments because the nine @eslint-react copies are off.

    2.1.7release notes

  • @lobehub/eslint-config and @lobehub/lint now require typescript >=5 <7 as a peer; TypeScript 7 is unsupported, so install typescript@^6.

    2.1.7release notes

  • The rule ID is renamed to jsx-no-namespace; disable comments using the old ID become unused directives.

    2.1.6release notes

  • Rule IDs are renamed to dom-no-*; disable comments using the old IDs become unused directives.

    2.1.6release notes

  • Adds an error for placing a key prop after a spread in JSX; it is not autofixable.

    2.1.6release notes

  • Reports the same violations as react-hooks/rules-of-hooks, so each violation is reported twice.

    2.1.6release notes

  • Rule IDs are renamed to naming-convention-*; disable comments using the old IDs become unused directives.

    2.1.6release notes

  • The rule ID is renamed to rsc-function-definition; disable comments using the old ID become unused directives.

    2.1.6release notes

  • Rule IDs are renamed to web-api-no-leaked-*; disable comments using the old IDs become unused directives.

    2.1.6release notes

  • eslint-config now bans default exports, so code using them will violate the lint rules.

    2.1.5release notes

New APIs and options 7

  • Adds a warning for leaked dollar usage in JSX.

    2.1.6release notes

  • Adds a warning for leaked semicolon usage in JSX.

    2.1.6release notes

  • Adds a CommonJS changelog configuration entry point.

    2.1.6release notes

  • Adds a CommonJS entry point for release configuration.

    2.1.6release notes

  • Adds a CommonJS entry point for monorepo release configuration.

    2.1.6release notes

  • Adds a warning for leaked fetch usage.

    2.1.6release notes

  • Adds a warning for leaked IntersectionObserver usage.

    2.1.6release notes

Behavior and default changes 3

  • The scaffolder installs TypeScript 6 instead of the latest 7.

    2.1.7release notes

  • Perf commits now appear in release notes.

    2.1.7release notes

  • The rule is turned off to stop circular autofixes with regexp/strict.

    2.1.7release notes

Tooling 4

  • check-release.mjs now checks every workspace package.

    2.1.7release notes

  • Adds an error when an element has both a children prop and children content; an editor suggestion is available.

    2.1.6release notes

  • Adds a warning for JSX children-prop usage.

    2.1.6release notes

  • The ESLint configuration now supports MDX files.

    2.1.6release notes

Fixes and other changes 6

  • require() is allowed in commonjs and rc config files, which no longer fail no-require-imports.

    2.1.7release notes

  • The config no longer fails with ERR_PACKAGE_PATH_NOT_EXPORTED for zod-validation-error/v4; pnpm lockfiles that hold 3.5.4 still need an update.

    2.1.7release notes

  • The skill writes this configuration file and migrates workspace packages.

    2.1.6release notes

  • Stylelint fixes for logical properties now preserve CSS-in-JS interpolations.

    2.1.6release notes

  • Stops the rule from merging imports into invalid type imports.

    2.1.6release notes

  • The skill now always writes this file and verifies it with getConfig; it also writes it when semantic-release is below 22.

    2.1.6release notes