slint/api/node/biome.json
dependabot[bot] 0726dce009
build(deps): bump @biomejs/biome from 2.2.6 to 2.3.2 (#9926)
* build(deps): bump @biomejs/biome from 2.2.6 to 2.3.2

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.6 to 2.3.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.2/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix config

* Lint fixes

* Fix

* [autofix.ci] apply automated fixes

* Fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-03 10:47:12 +02:00

40 lines
1.2 KiB
JSON

{
"root": true,
"extends": ["../../biome.json"],
"files": {
"includes": [
"**",
"!**/docs/",
"!rust-module.d.cts",
"!rust-module.cjs"
]
},
"linter": {
"rules": {
"complexity": {
"useArrowFunction": "off",
"noForEach": "off",
"noArguments": "off"
},
"style": {
"noNonNullAssertion": "off",
"noUnusedTemplateLiteral": "off",
"useTemplate": "off",
"noInferrableTypes": "off",
"noParameterAssign": "off",
"useAsConstAssertion": "error",
"useDefaultParameterLast": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"useNumberNamespace": "error",
"noUselessElse": "error"
},
"suspicious": {
"noExplicitAny": "off",
"noAssignInExpressions": "off",
"noVar": "off"
}
}
}
}