diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index b395b17..0000000 --- a/.eslintrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parser": "@typescript-eslint/parser", - "extends": ["plugin:@typescript-eslint/recommended"], - "parserOptions": { "ecmaVersion": "latest", "sourceType": "script" }, - "rules": { - "@typescript-eslint/no-non-null-assertion": "off", - "quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals": true }], - "semi": ["error", "always"], - "@typescript-eslint/no-empty-interface": 0, - "@typescript-eslint/ban-types": 0, - "@typescript-eslint/no-explicit-any": "off" - } -} diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 78e2e0b..0000000 --- a/.prettierrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "semi": true, - "trailingComma": "all", - "singleQuote": true, - "printWidth": 100, - "tabWidth": 4, - "arrowParens": "avoid" -} diff --git a/package.json b/package.json index 8cc4028..64975fa 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@types/node": "^18.15.11", "@typescript-eslint/eslint-plugin": "5.58.0", "@typescript-eslint/parser": "5.58.0", - "discord.js": "^14.9.0", + "discord.js": "14.8.0", "esbuild": "^0.15.2", "esbuild-ifdef": "^0.2.0", "eslint": "8.38.0", @@ -58,6 +58,19 @@ "tabWidth": 4, "arrowParens": "avoid" }, + "eslintConfig": { + "parser": "@typescript-eslint/parser", + "extends": ["plugin:@typescript-eslint/recommended"], + "parserOptions": { "ecmaVersion": "latest", "sourceType": "script" }, + "rules": { + "@typescript-eslint/no-non-null-assertion": "off", + "quotes": [2, "single", { "avoidEscape": true, "allowTemplateLiterals": true }], + "semi": ["error", "always"], + "@typescript-eslint/no-empty-interface": 0, + "@typescript-eslint/ban-types": 0, + "@typescript-eslint/no-explicit-any": "off" + } + }, "repository": { "type": "git", "url": "git+https://github.com/sern-handler/handler.git"