Refactored Command Deployment, Organized Code, and Fixed Linting

This commit is contained in:
Ahmad 2024-12-21 01:17:20 -05:00
parent 327035d883
commit d8df48438d
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
9 changed files with 77 additions and 63 deletions

View file

@ -1,6 +1,7 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import globals from "globals";
import { FlatCompat } from "@eslint/eslintrc";
import tsParser from "@typescript-eslint/parser";
import typescriptEslint from "@typescript-eslint/eslint-plugin";
@ -30,6 +31,9 @@ export default [
parserOptions: {
project: "./tsconfig.json",
},
globals: {
...globals.node,
},
},
rules: {
@ -117,6 +121,9 @@ export default [
"space-unary-ops": "error",
"spaced-comment": "error",
yoda: "error",
"no-redeclare": "off",
"no-unused-vars": "off", // This is causing issues
},
},
];