Changelog - 2026-10-16
IGNIS lints with oxlint and formats with oxfmt
New Feature EnhancementIn one line. @venizia/dev-configs 0.3.0 ships oxlint and oxfmt configs next to the ESLint and Prettier ones, so your project can lint and format much faster.
// .configs/oxlint.config.mts
import { defineConfig } from 'oxlint';
import { oxlintConfigs } from '@venizia/dev-configs/linters';
export default defineConfig(oxlintConfigs);On a 253-file package, linting went from 8.16s to about 0.8s with type-aware rules on, and formatting from 2.16s to 0.06s.
What changed
oxlintConfigsis a rule-for-rule port of the previous preset. Type-aware rules run throughoxlint-tsgolint.oxfmtConfigsholds the same seven options asprettierConfigs.- ESLint stays for one rule.
@typescript-eslint/naming-conventionhas no oxlint port yet, sonamingConventionConfigsruns it alone. eslintConfigsis owned by IGNIS. It no longer wraps@minimaltech/eslint-nodeand resolves to the same config, rule for rule.- The TypeScript target is ES2025.
tsconfig.base.jsonandtsconfig.common.jsonmove from ES2024 to ES2025, target and lib, which adds the ES2025 types (Setmethods, iterator helpers,Promise.try). - New exports. Subpaths
/compilers,/formattersand/linters. From/linters:oxlintConfigs,namingConventionConfigs,ReactOxlintConfigs,reactNamingConventionConfigs,NoRestrictedPropertiesRule(banscrypto.randomUUID, which a plain-http origin does not have), and one class per rule to rebuild it withbuild()(EqeqeqRule,NoUnusedVarsRule,SwitchCaseBracesRule,NoRestrictedImportsRule,PreferNullishCoalescingRule,NamingConventionRule). From/formatters:oxfmtConfigs.
Who is affected
- Consumers of
@venizia/dev-configs. No lint action needed.eslintConfigs,prettierConfigs,ReactEslintConfigs,BunCompilerand the two tsconfig exports keep their shape, and the root import still re-exports everything. - Consumers of
ReactEslintConfigs. The preset no longer relaxes the base for a UI:no-floating-promises,no-void,no-use-before-define,no-shadowandno-unused-varsare errors again,exhaustive-depsis an error, andcrypto.randomUUIDis banned. Await or.catch()every promise a handler starts, and declare a component above its first use. - Consumers that extend
tsconfig.common.json. Your target becomes ES2025. Your runtime needs ES2025 support (Bun 1.4 and Node 24 have it); a bundler that rejects ES2025 needs its own target. - Consumers who want the faster tools. Switch with the steps below.
Switch to oxlint and oxfmt
Replace the tools:
bashbun remove prettier bun add -d @venizia/dev-configs oxlint oxlint-tsgolint oxfmt eslintCreate
.configs/oxlint.config.mts,.configs/oxfmt.config.mtsand.configs/eslint.config.mjswith the three snippets in the package README. Keep the ESLint config.mjs: ESLint loads a TypeScript config only throughjiti, one more dependency.Update your scripts to pass
-c:json{ "lint": "oxlint -c .configs/oxlint.config.mts --deny-warnings && eslint -c .configs/eslint.config.mjs . && oxfmt -c .configs/oxfmt.config.mts --check \"**/*.{ts,tsx,mts,js,mjs}\"", "lint:fix": "oxlint -c .configs/oxlint.config.mts --fix && eslint -c .configs/eslint.config.mjs . --fix && oxfmt -c .configs/oxfmt.config.mts \"**/*.{ts,tsx,mts,js,mjs}\"" }Delete
.prettierrc.mjs,.prettierignoreand the oldeslint.config.mjs.Remove
"./*.config.*"and".prettierrc.*"from yourtsconfig.jsoninclude. Keeptsconfig.jsonat the root.Run
lint:fixonce.
Details
- Config location. No tool finds
.configs/on its own, so every call passes-c .configs/<tool>.config.mts. AnignorePatternsentry inside.configs/resolves against.configs/, so it matches nothing;distandnode_modulesare skipped through.gitignore. - Warnings. oxlint exits 0 on warnings only, so pass
--deny-warningsto fail on a warning, as ESLint did. - Format drift. oxfmt breaks long union types with a leading
|per line, where Prettier does not. Expect one round of reformatting. - Unused disable comments. Drop
--report-unused-disable-directives. oxlint does not run the naming-convention rule, so it would flag every naming disable comment as unused. - Stricter checks. oxlint caught four real
no-unsafe-optional-chainingbugs that ESLint missed:(x?.y as T).zstill throws whenxis undefined. - Not ported.
prefer-optional-chain(an oxlint nursery rule) andno-invalid-this(covered bynoImplicitThis).n/prefer-node-protocolbecameunicorn/prefer-node-protocol. - Peer dependencies.
oxlint(>=1.88.0),oxfmt(>=0.73.0) andoxlint-tsgolint(>=7.0.2004) are new optional peers.typescript-eslintis a new dependency. - Upgrading the range. 0.3.0 is a minor bump on a 0.x package, so a
^0.2.xrange does not reach it. Write^0.3.0. - TypeScript.
oxlint-tsgolintis built on TypeScript 7 and works in a project on 6. - Build.
tsc-aliasmust read the roottsconfig.json, not a.configs/one, or@/...imports stay unrewritten indist.
See Tooling Configuration for the full setup and rule customization.