Changelog - 2026-11-04
dev-configs drops eslint-plugin-n and eslint-plugin-unicorn
Enhancement Breaking ChangeIn one line. Installing @venizia/dev-configs pulls in 78 fewer packages (23.5 MB down to 7.0 MB), because two ESLint plugins that served one rule each are gone.
What changed
eslint-plugin-nandeslint-plugin-unicornare no longer dependencies. They rann/prefer-node-protocolandunicorn/switch-case-bracesin the legacyeslintConfigspreset, and nothing else.oxlintConfigsis unchanged. It runsunicorn/prefer-node-protocolandunicorn/switch-case-bracesitself, so a project that lints with oxlint reports the same findings as before.- The braces rule stays in every preset.
eslintConfigsruns the switch-case check asvenizia/no-unbraced-case(acaseordefaultwith statements takes a block; the fix adds it),oxlintConfigsasunicorn/switch-case-braces, and both keepcurly: 'all'forif,forandwhilebodies. A test pins all of it in each preset. eslintConfigsno longer checks thenode:prefix. That wasn/prefer-node-protocol;oxlintConfigsstill runsunicorn/prefer-node-protocol.
Who is affected
- Projects on
oxlintConfigs(this repository and the usual setup): no action needed. - Projects that lint with
eslintConfigsalone: thenode:prefix check is gone from ESLint; run oxlint for it. - Projects that name
n/prefer-node-protocolorunicorn/switch-case-bracesin their own ESLint config: see Breaking changes.
Breaking changes
WARNING
ESLint stops with a "Could not find plugin" error for a config that still names n/prefer-node-protocol or unicorn/switch-case-braces.
Migration. Rename unicorn/switch-case-braces to venizia/no-unbraced-case (eslintConfigs already enables it) and delete n/prefer-node-protocol; oxlint with oxlintConfigs covers the node: prefix. A project that must check it in ESLint adds eslint-plugin-n to its own dependencies and registers the plugin itself.