streaming!!, oh and file names, linting ig..

This commit is contained in:
Reid 2025-08-15 01:40:21 -07:00
parent 7b15834f17
commit f2800f13c8
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
23 changed files with 1195 additions and 254 deletions

View file

@ -1,33 +1,55 @@
import typescriptEslint from "typescript-eslint";
import stylistic from "@stylistic/eslint-plugin";
export default [
...typescriptEslint.configs.strict,
...typescriptEslint.configs.stylistic,
{
plugins: {
"@typescript-eslint": typescriptEslint.plugin,
"@stylistic": stylistic
}
},
{
ignores: [
"**/dist/*",
"**/result/*",
"**/node_modules/*"
"**/dist/**",
"**/result/**",
"**/node_modules/**"
]
},
...typescriptEslint.configs.strict,
{
rules: {
"quotes": ["error", "double"],
"semi": ["error", "always"],
"comma-dangle": ["error", "never"],
"@stylistic/indent": ["error", 4],
"@stylistic/quotes": ["error", "double"],
"@stylistic/semi": ["error", "always"],
"@stylistic/comma-dangle": ["error", "never"],
// TODO: find a rule to make it so that relative imports are needed
// this is because those pass type checking, and fails at runtime
// not very typescript-coded (typescript shouldnt require runtime debugging, thats the point of it)
// TODO: make imports forced to be dynamic
// TODO: find a rule to make seperators on interfaces consistent
// it... let's just say... it pmo
"@stylistic/member-delimiter-style": [
"error",
{
multilineDetection: "brackets",
multiline: {
delimiter: "semi",
requireLast: true
},
singleline: {
delimiter: "comma",
requireLast: false
}
}
],
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
varsIgnorePattern: "^_",
argsIgnorePattern: "^_"
argsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
caughtErrors: "all",
destructuredArrayIgnorePattern: "^_"
}
]
}