diff --git a/eslint.config.mjs b/eslint.config.mjs index a05411ab..f8e1d34d 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -99,16 +99,4 @@ export default ts.config( 'mocha/no-top-level-hooks': 'error', }, }, - { - files: ['eslint.config.mjs'], - languageOptions: { - parserOptions: { - project: 'tsconfig.eslint.json', - }, - }, - rules: { - '@typescript-eslint/naming-convention': 'off', - 'n/no-extraneous-import': 'off', - }, - }, ); diff --git a/package-lock.json b/package-lock.json index 9cac3c8b..7015f837 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,9 +17,6 @@ "shlex": "^2.1.2" }, "devDependencies": { - "@types/eslint": "^9.6.0", - "@types/eslint__js": "^8.42.3", - "@types/eslint-plugin-mocha": "^10.4.0", "@types/mocha": "^10.0.7", "@types/mock-require": "^2.0.3", "@types/node": "^22.1.0", @@ -990,51 +987,6 @@ "@octokit/openapi-types": "^22.2.0" } }, - "node_modules/@types/eslint": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.0.tgz", - "integrity": "sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/eslint__js": { - "version": "8.42.3", - "resolved": "https://registry.npmjs.org/@types/eslint__js/-/eslint__js-8.42.3.tgz", - "integrity": "sha512-alfG737uhmPdnvkrLdZLcEKJ/B8s9Y4hrZ+YAdzUeoArBlSUERA2E87ROfOaS4jd/C45fzOoZzidLc1IPwLqOw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/eslint": "*" - } - }, - "node_modules/@types/eslint-plugin-mocha": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/@types/eslint-plugin-mocha/-/eslint-plugin-mocha-10.4.0.tgz", - "integrity": "sha512-knOH7Y13tuK0gqQqiiSucMxF4R/LrbRJwCiDQEhfbktUGvf9xFBQ8TdpCUO1xK0EwafOssu7+KuxqFV1xOXOtQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/eslint": "*" - } - }, - "node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/mocha": { "version": "10.0.7", "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", diff --git a/package.json b/package.json index e7b5ded5..80a09028 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,9 @@ "watch:tsc": "tsc -p . --watch --preserveWatchOutput --pretty", "watch:mocha": "mocha --watch-files \"./test/*.js\"", "watch": "concurrently -c auto npm:watch:tsc npm:watch:mocha", - "lint:eslint": "eslint --max-warnings 0 \"./**/*.ts\" eslint.config.mjs", - "lint:tsc-eslint": "tsc -p tsconfig.eslint.json", + "lint:eslint": "eslint --max-warnings 0 \"./**/*.ts\"", "lint:prettier": "prettier --check \"./**/*.ts\" \"./**/*.mjs\"", - "lint": "concurrently -c auto npm:lint:eslint npm:lint:prettier npm:lint:tsc-eslint", + "lint": "concurrently -c auto npm:lint:eslint npm:lint:prettier", "fix:eslint": "eslint --fix \"./**/*.ts\"", "fix:prettier": "prettier --write \"./**/*.ts\" \"./**/*.mjs\"", "fix": "concurrently -m 1 -c auto npm:fix:eslint npm:fix:prettier", @@ -52,9 +51,6 @@ "shlex": "^2.1.2" }, "devDependencies": { - "@types/eslint": "^9.6.0", - "@types/eslint__js": "^8.42.3", - "@types/eslint-plugin-mocha": "^10.4.0", "@types/mocha": "^10.0.7", "@types/mock-require": "^2.0.3", "@types/node": "^22.1.0", diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json deleted file mode 100644 index 3b4aab76..00000000 --- a/tsconfig.eslint.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "nodenext", - "moduleResolution": "nodenext", - "noEmit": true, - "allowJs": true - }, - "files": [ - "eslint.config.mjs" - ] -}