Moved vule to biom

This commit is contained in:
Bertie690 2025-04-24 21:14:07 -04:00
parent e63e52a075
commit 12e3def562
3 changed files with 2 additions and 5 deletions

View File

@ -76,7 +76,7 @@
"noExplicitAny": "off", // TODO: Refactor and make this an error after save data refactored
"noAssignInExpressions": "off",
"noPrototypeBuiltins": "off",
"noFallthroughSwitchClause": "off", // Handled by ESLint due to not supporting simple "falls through" commenst
"noFallthroughSwitchClause": "error", // Prevent accidental automatic fallthroughs in switch cases (use disable comment if needed)
"noImplicitAnyLet": "info", // TODO: Refactor and make this an error
"noRedeclare": "off", // TODO: Refactor and make this an error
"noGlobalIsNan": "off",

View File

@ -18,9 +18,6 @@ export default tseslint.config(
"@typescript-eslint": tseslint.plugin,
},
rules: {
// Prevent fallthrough on switch without an explicit "falls through" comment with explanatino.
// Note: Move to biome if/when they add "falls through" comments
"no-fallthrough": ["error", { commentPattern: "^ falls through" }],
"no-undef": "off", // Disables the rule that disallows the use of undeclared variables (TypeScript handles this)
"no-extra-semi": "error", // Disallows unnecessary semicolons for TypeScript-specific syntax
"import-x/extensions": ["error", "never", { json: "always" }], // Enforces no extension for imports unless json

View File

@ -181,7 +181,7 @@ export class UiInputs {
if (!messageHandler.pendingPrompt || messageHandler.isTextAnimationInProgress()) {
return;
}
// falls through
// biome-ignore lint/suspicious/noFallthroughSwitchClause: falls through to show menu overlay
}
case UiMode.TITLE:
case UiMode.COMMAND: