diff --git a/.eslintignore b/.eslintignore deleted file mode 100755 index 559a55b..0000000 --- a/.eslintignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules/ -dist/ -CODE_OF_CONDUCT.md \ No newline at end of file diff --git a/.eslintrc b/.eslintrc deleted file mode 100755 index 475489e..0000000 --- a/.eslintrc +++ /dev/null @@ -1,34 +0,0 @@ -{ - "root": true, - "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "sourceType": "module", - "ecmaVersion": "latest" - }, - "rules": { - "import/no-unresolved": "error", - "prettier/prettier": [ - "error", - { - "quoteProps": "consistent", - "singleQuote": true, - "tabWidth": 4, - "trailingComma": "es5", - "useTabs": false - } - ] - }, - "plugins": ["import", "prettier"], - "settings": { - "import/parsers": { - "@typescript-eslint/parser": [".ts", ".tsx"] - }, - "import/resolver": { - "typescript": { - "alwaysTryTypes": true, - "project": ["./tsconfig.base.json"] - } - } - } -} diff --git a/.prettierignore b/.prettierignore deleted file mode 100755 index 559a55b..0000000 --- a/.prettierignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules/ -dist/ -CODE_OF_CONDUCT.md \ No newline at end of file diff --git a/.prettierrc b/.prettierrc deleted file mode 100755 index ce11b5c..0000000 --- a/.prettierrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "arrowParens": "avoid", - "quoteProps": "as-needed", - "tabWidth": 4, - "semi": false, - "singleQuote": true, - "trailingComma": "es5", - "endOfLine": "crlf" -} diff --git a/bun.lockb b/bun.lockb index 78b21eb..63e3ec0 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index ceab1ff..4ebb4b4 100755 --- a/package.json +++ b/package.json @@ -1,56 +1,102 @@ -{ - "name": "revanced-helper", - "version": "0.0.0", - "description": "🤖 Bots assisting ReVanced on multiple platforms", - "private": true, - "workspaces": [ - "apis/*", - "bots/*", - "packages/*" - ], - "scripts": { - "build": "turbo run build", - "watch": "turbo run watch", - "format": "prettier --write .", - "format:check": "prettier --check .", - "lint": "eslint .", - "lint:apply": "eslint --fix .", - "commitlint": "commitlint --edit", - "t": "turbo run", - "prepare": "lefthook install" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/revanced/revanced-helper.git" - }, - "author": "Palm (https://github.com/PalmDevs)", - "contributors": [ - "Palm (https://github.com/PalmDevs)", - "ReVanced (https://github.com/revanced)" - ], - "license": "GPL-3.0-or-later", - "bugs": { - "url": "https://github.com/revanced/revanced-helper/issues" - }, - "homepage": "https://github.com/revanced/revanced-helper#readme", - "devDependencies": { - "@commitlint/cli": "^18.4.3", - "@commitlint/config-conventional": "^18.4.3", - "@tsconfig/strictest": "^2.0.2", - "conventional-changelog-conventionalcommits": "^7.0.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", - "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-prettier": "^5.0.1", - "lefthook": "^1.5.3", - "prettier": "^3.1.0", - "semantic-release": "^22.0.8", - "turbo": "^1.10.16", - "typescript": "^5.3.2" - }, - "overrides": { - "uuid": ">=9.0.0", - "isomorphic-fetch": ">=3.0.0" - } -} +{ + "name": "revanced-helper", + "version": "0.0.0", + "description": "🤖 Bots assisting ReVanced on multiple platforms", + "private": true, + "workspaces": [ + "apis/*", + "bots/*", + "packages/*" + ], + "scripts": { + "build": "turbo run build", + "watch": "turbo run watch", + "format": "prettier --ignore-path .gitignore --write .", + "format:check": "prettier --ignore-path .gitignore --cache --check .", + "lint": "eslint --ignore-path .gitignore --cache .", + "lint:apply": "eslint --ignore-path .gitignore --fix .", + "commitlint": "commitlint --edit", + "t": "turbo run", + "prepare": "lefthook install" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/revanced/revanced-helper.git" + }, + "author": "Palm (https://github.com/PalmDevs)", + "contributors": [ + "Palm (https://github.com/PalmDevs)", + "ReVanced (https://github.com/revanced)" + ], + "license": "GPL-3.0-or-later", + "bugs": { + "url": "https://github.com/revanced/revanced-helper/issues" + }, + "homepage": "https://github.com/revanced/revanced-helper#readme", + "devDependencies": { + "@commitlint/cli": "^18.4.3", + "@commitlint/config-conventional": "^18.4.3", + "@tsconfig/strictest": "^2.0.2", + "conventional-changelog-conventionalcommits": "^7.0.2", + "eslint": "^8.54.0", + "eslint-config-prettier": "^9.0.0", + "eslint-import-resolver-typescript": "^3.6.1", + "eslint-plugin-import": "^2.29.0", + "eslint-plugin-prettier": "^5.0.1", + "lefthook": "^1.5.3", + "prettier": "^3.1.0", + "semantic-release": "^22.0.8", + "turbo": "^1.10.16", + "typescript": "^5.3.2" + }, + "overrides": { + "uuid": ">=9.0.0", + "isomorphic-fetch": ">=3.0.0" + }, + "eslintConfig": { + "root": true, + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:prettier/recommended" + ], + "plugins": [ + "import", + "prettier" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "sourceType": "module", + "ecmaVersion": "latest" + }, + "rules": { + "import/no-unresolved": "error" + }, + "settings": { + "import/parsers": { + "@typescript-eslint/parser": [ + ".ts", + ".tsx" + ] + }, + "import/resolver": { + "typescript": { + "alwaysTryTypes": true, + "project": [ + "./tsconfig.base.json" + ] + } + } + } + }, + "prettier": { + "arrowParens": "avoid", + "quoteProps": "as-needed", + "tabWidth": 4, + "semi": false, + "singleQuote": true, + "trailingComma": "es5", + "endOfLine": "crlf" + } +} +