revenge-bundle-next/biome.json

114 lines
2.1 KiB
JSON
Raw Normal View History

2025-03-21 19:59:16 +07:00
{
2025-08-25 19:19:22 +07:00
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
2025-06-03 16:21:02 +07:00
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
{
"type": false
}
]
}
2025-06-07 15:14:43 +07:00
}
2025-06-03 16:21:02 +07:00
}
},
2025-03-21 19:59:16 +07:00
"enabled": true
},
2025-06-03 16:21:02 +07:00
"files": {
"includes": [
"**/*.js",
"**/*.json",
"**/*.ts",
"**/*.tsx",
"**/*.jsx",
"**/*.mjs"
],
2025-06-03 16:21:02 +07:00
"ignoreUnknown": true
},
"formatter": {
"useEditorconfig": true
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"enabled": true,
"quoteProperties": "asNeeded",
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "all"
}
},
"json": {
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
},
2025-03-21 19:59:16 +07:00
"linter": {
"enabled": true,
"rules": {
"a11y": {
"useKeyWithClickEvents": {
"level": "off"
}
},
2025-06-03 16:21:02 +07:00
"complexity": {
"noBannedTypes": {
"level": "warn"
},
2025-03-21 19:59:16 +07:00
"noCommaOperator": {
"level": "off"
},
2025-06-03 16:21:02 +07:00
"useArrowFunction": {
"level": "warn"
}
},
"performance": {
"noDelete": {
"level": "warn"
}
},
"recommended": true,
"style": {
2025-03-21 19:59:16 +07:00
"noNonNullAssertion": {
"level": "off"
},
2025-06-03 16:21:02 +07:00
"useImportType": {
"level": "warn",
"options": {
"style": "separatedType"
}
},
2025-03-21 19:59:16 +07:00
"useNodejsImportProtocol": {
"level": "off"
2025-06-03 16:21:02 +07:00
},
"useTemplate": {
"level": "warn"
2025-03-21 19:59:16 +07:00
}
},
"suspicious": {
"noAssignInExpressions": {
"level": "off"
},
2025-06-03 16:21:02 +07:00
"noConfusingVoidType": {
2025-03-21 19:59:16 +07:00
"level": "off"
},
2025-06-03 16:21:02 +07:00
"noExplicitAny": {
2025-03-21 19:59:16 +07:00
"level": "off"
2025-08-19 02:40:02 +07:00
},
"useIterableCallbackReturn": {
"level": "off"
2025-03-21 19:59:16 +07:00
}
}
}
},
2025-06-03 16:21:02 +07:00
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true
2025-03-21 19:59:16 +07:00
}
}