mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-01 14:38:48 +00:00
chore: updated linting and formatting, updated deps
This commit is contained in:
1 parent
ca0a5d23e0
commit
6dcddee2e9
4 files changed
+705
-463
No files matched your search
+9
-2
@@ -4,7 +4,12 @@
|
|||||||
"node": true,
|
"node": true,
|
||||||
"es2021": true
|
"es2021": true
|
||||||
},
|
},
|
||||||
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
"extends": [
|
||||||
|
"eslint:recommended",
|
||||||
|
"prettier",
|
||||||
|
"plugin:@typescript-eslint/recommended",
|
||||||
|
"plugin:prettier/recommended"
|
||||||
|
],
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": "latest",
|
"ecmaVersion": "latest",
|
||||||
@@ -13,6 +18,7 @@
|
|||||||
},
|
},
|
||||||
"plugins": ["@typescript-eslint"],
|
"plugins": ["@typescript-eslint"],
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"prettier/prettier": "error",
|
||||||
"indent": ["error", 4, { "SwitchCase": 1 }],
|
"indent": ["error", 4, { "SwitchCase": 1 }],
|
||||||
"max-len": [
|
"max-len": [
|
||||||
"error",
|
"error",
|
||||||
@@ -50,6 +56,7 @@
|
|||||||
"no-console": ["error"],
|
"no-console": ["error"],
|
||||||
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
||||||
"@typescript-eslint/explicit-module-boundary-types": "off",
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||||||
"@typescript-eslint/ban-ts-comment": "off"
|
"@typescript-eslint/ban-ts-comment": "off",
|
||||||
|
"@typescript-eslint/consistent-type-definitions": ["error", "type"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
dist/
|
||||||
|
node_modules/
|
||||||
Generated
+686
-456
File diff suppressed because it is too large.
Load diff
+8
-5
@@ -31,7 +31,7 @@
|
|||||||
"@discord-player/extractor": "^4.4.2-dev.1",
|
"@discord-player/extractor": "^4.4.2-dev.1",
|
||||||
"@discord-player/opus": "^0.1.1",
|
"@discord-player/opus": "^0.1.1",
|
||||||
"@discordjs/rest": "^2.0.1",
|
"@discordjs/rest": "^2.0.1",
|
||||||
"@distube/ytdl-core": "^4.11.17",
|
"@distube/ytdl-core": "^4.12.1",
|
||||||
"config": "^3.3.9",
|
"config": "^3.3.9",
|
||||||
"discord-player": "^6.6.3-dev.0",
|
"discord-player": "^6.6.3-dev.0",
|
||||||
"discord-voip": "^0.1.2",
|
"discord-voip": "^0.1.2",
|
||||||
@@ -45,12 +45,15 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/config": "^3.3.0",
|
"@types/config": "^3.3.0",
|
||||||
"@types/node": "^20.5.7",
|
"@types/node": "^20.5.9",
|
||||||
"@types/node-os-utils": "^1.3.1",
|
"@types/node-os-utils": "^1.3.1",
|
||||||
"@types/uuid": "^9.0.2",
|
"@types/uuid": "^9.0.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
||||||
|
"@typescript-eslint/parser": "^6.5.0",
|
||||||
"eslint": "^8.48.0",
|
"eslint": "^8.48.0",
|
||||||
"prettier-eslint": "^15.0.1",
|
"eslint-config-prettier": "^9.0.0",
|
||||||
|
"eslint-plugin-prettier": "^5.0.0",
|
||||||
|
"prettier": "^3.0.3",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user