mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-07-17 00:19:04 +00:00
Refactored Command Deployment, Organized Code, and Fixed Linting
This commit is contained in:
parent
327035d883
commit
d8df48438d
9 changed files with 77 additions and 63 deletions
|
@ -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
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue