ini𝖔 𝕞𝐚𝔢 b𝖁𝖘𝖋𝖗𝖆𝕊t commit

This commit is contained in:
Reid 2025-04-18 00:55:39 -07:00
commit 37729aa76e
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
26 changed files with 5634 additions and 0 deletions

32
eslint.config.mjs Normal file
View file

@ -0,0 +1,32 @@
import typescriptEslint from "typescript-eslint";
export default [
{
ignores: [
"**/dist/*",
"**/result/*",
"**/node_modules/*"
]
},
...typescriptEslint.configs.strict,
{
rules: {
"quotes": ["error", "double"],
"semi": ["error", "always"],
"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
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
varsIgnorePattern: "^_",
argsIgnorePattern: "^_"
}
]
}
}
];