npm eslint-plugin-n 18.0.0
v18.0.0

8 hours ago

18.0.0 (2026-05-04)

⚠ BREAKING CHANGES

  • migrate commonjs to esm (#510)
  • no-sync: move ts-declaration-location to peerDependencies
  • no-unpublished-bin: disallow extra properties in options (#456)
  • remove no-unpublished-bin from recommended (#485)
  • requires node.js >=20 & eslint >= 8.57.1 (#503)

🌟 Features

  • migrate commonjs to esm (#510) (db64bd1)
  • no-sync: move ts-declaration-location to peerDependencies (4729438)
  • node-builtins: add support data for Node.js 22.20–22.21 and 24.0–24.12 (#496) (e8e0b00)
  • requires node.js >=20 & eslint >= 8.57.1 (#503) (1d6770e)

🩹 Fixes

  • Add explicit mapping for TypeScript extensions (#521) (1ad05c5)
  • no-unpublished-bin: disallow extra properties in options (#456) (6da92b1)
  • prefer-promises/fs: add missing fs.promises APIs (#519) (2164cd5)
  • prefer-promises/fs: add missing fs.promises APIs (cp, glob, lutimes, opendir, rm, statfs) (#522) (2de9f06)
  • remove no-unpublished-bin from recommended (#485) (f95aae7)

📚 Documentation

  • update README for new ESLint config usage and examples (4daac0c)

🧹 Chores

  • adopt deprecated: DeprecatedInfo meta rule option (df9878a)
  • dedupe prefer-global/timers trace map (#516) (9d8d3cb)
  • fix ts errors (2a6f77b)
  • remove unnecessary type properties from error objects in rule tests (f3d02b0)
  • rm eslint-compat.js (#513) (235a6d7)
  • simplify valid patterns handling in no-unsupported-features tests (52664e6)
  • test on eslint v10 (59d827c)
  • test on eslint v10 (2c7c0c1)

Don't miss a new eslint-plugin-n release

NewReleases is sending notifications on new releases.