mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-06 00:12:16 +02:00
Moved vule to biom
This commit is contained in:
parent
e63e52a075
commit
12e3def562
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user