Files
Bubberstation/biome.json
JeremiahandGitHub 74dd1e48fe Bumps biome, fixes linter errors (#94614)
## About The Pull Request
I was debugging when I found that holding alt spams the UI with log
messages. The source UI causing this also wrote in old ES5 syntax . I
updated our linter to error when you write JS code like an ancient
scribe (circa 2009).

I also bumped some dependencies and fixed all the linter warnings in
tgui:lint.

The alt-click-drag functionality still works:

![dreamseeker_9Cloa5wwW1](https://github.com/user-attachments/assets/46935dfe-40c8-404c-ade9-c73608311fa8)
## Why It's Good For The Game
Less linter errors
Automatically flags/updates ES5 JS code 
## Changelog
N/A
2025-12-29 13:01:56 -05:00

74 lines
1.3 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
},
"enabled": true
},
"css": {
"formatter": {
"quoteStyle": "double"
}
},
"files": {
"ignoreUnknown": false,
"includes": [
"**",
"!**/node_modules",
"!tgui/public",
"tgui/public/tgui.html",
"!tgui/packages/tgui-setup/helpers.js",
"!**/bun.lock"
]
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"indentStyle": "space",
"quoteStyle": "single"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": "off",
"complexity": {
"useArrowFunction": "error"
},
"correctness": {
"noUnusedImports": "error",
"noUnusedVariables": "off",
"useExhaustiveDependencies": "off",
"noUnusedFunctionParameters": "off",
"useHookAtTopLevel": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"style": {
"noNonNullAssertion": "off",
"useSelfClosingElements": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off",
"noImplicitAnyLet": "off",
"noVar": "error"
}
}
},
"vcs": {
"clientKind": "git",
"enabled": false,
"useIgnoreFile": false
}
}