Files
renovate/biome.json
T
Sergei Zharinov ee2c737d41 refactor: Drop more eslint plugins (#41740)
* refactor: replace @containerbase/eslint-plugin and eslint-plugin-import-x with local rules and biome

The two containerbase ESLint rules (test-root-describe, no-tools-import) are now
implemented locally in tools/lint/rules.js, removing the external dependency.

All eslint-plugin-import-x rules are dropped: default, named, namespace, and
no-cycle are already covered by oxlint; no-unresolved is covered by TypeScript;
no-extraneous-dependencies is replaced by biome's noUndeclaredDependencies.

* fix: exclude eslint.config.mjs from type-checking

eslint-plugin-promise has no type declarations. Previously this was
masked by @types/eslint pulled in transitively via eslint-plugin-import-x.
The config file is not application code and gains nothing from type-checking.

* refactor: drop eslint-plugin-promise, move covered rules to oxlint

The promise rules target .then()/.catch() patterns which are rare in an
async/await codebase. The 4 rules oxlint supports (catch-or-return,
no-callback-in-promise, no-new-statics, valid-params) are moved there.

* fix: prettier formatting after removing eslint-disable comment
2026-03-09 16:05:50 +00:00

52 lines
1001 B
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"linter": {
"enabled": true,
"rules": {
"recommended": false,
"correctness": {
"noUndeclaredDependencies": "error"
},
"style": {
"noParameterProperties": "error"
}
}
},
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"identifierOrder": "lexicographic"
}
}
}
}
},
"formatter": {
"enabled": false
},
"files": {
"includes": [
"**",
"!**/node_modules",
"!.pnpm-store",
"!.worktrees/**/*",
"!**/dist",
"!**/tmp",
"!**/coverage",
"!**/__fixtures__/**",
"!**/__mocks__/**",
"!**/*.d.ts",
"!**/.venv/**",
"!config.js",
"!patches",
"!tools/mkdocs/.cache",
"!tools/mkdocs/docs",
"!tools/mkdocs/overrides",
"!tools/mkdocs/site"
]
}
}