From 800599cb52ae316a94b581069ccf57e31c2f1e7c Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Fri, 8 Dec 2023 14:00:57 -0800 Subject: [PATCH] chore: No mocha for eslint --- .eslintrc.json | 5 +---- package.json | 1 - yarn.lock | 25 ------------------------- 3 files changed, 1 insertion(+), 30 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index d5323083d..af0cdfc81 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,12 +4,11 @@ "browser": true, "commonjs": true, "es6": true, - "mocha": true, "node": true, "jest": true }, "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint", "mocha", "prettier"], + "plugins": ["@typescript-eslint", "prettier"], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", @@ -20,8 +19,6 @@ }, "ignorePatterns": ["node_modules/", "dist/", ".turbo/"], "rules": { - "mocha/no-skipped-tests": "error", - "mocha/no-exclusive-tests": "error", "prettier/prettier": "error", // Intermediate deescalation to warnings diff --git a/package.json b/package.json index 4bbc68167..6a50b5353 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "eslint-config-prettier": "^9.0.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.24.2", - "eslint-plugin-mocha": "10.2.0", "eslint-plugin-n": "^16.3.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.0.1", diff --git a/yarn.lock b/yarn.lock index 0d0beb1e0..f1572f4f0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5275,14 +5275,6 @@ eslint-plugin-import@^2.24.2, eslint-plugin-import@^2.27.5: semver "^6.3.1" tsconfig-paths "^3.14.2" -eslint-plugin-mocha@10.2.0: - version "10.2.0" - resolved "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.2.0.tgz" - integrity sha512-ZhdxzSZnd1P9LqDPF0DBcFLpRIGdh1zkF2JHnQklKQOvrQtT73kdP5K9V2mzvbLR+cCAO9OI48NXK/Ax9/ciCQ== - dependencies: - eslint-utils "^3.0.0" - rambda "^7.4.0" - eslint-plugin-n@^16.3.1: version "16.3.1" resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.3.1.tgz#6cd377d1349fed10854b6535392e91fb4123193b" @@ -5393,23 +5385,11 @@ eslint-utils@^2.0.0: dependencies: eslint-visitor-keys "^1.1.0" -eslint-utils@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz" - integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== - dependencies: - eslint-visitor-keys "^2.0.0" - eslint-visitor-keys@^1.1.0: version "1.3.0" resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz" integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== -eslint-visitor-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" - integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== - eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: version "3.4.3" resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz" @@ -9798,11 +9778,6 @@ quick-lru@^5.1.1: resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== -rambda@^7.4.0: - version "7.5.0" - resolved "https://registry.npmjs.org/rambda/-/rambda-7.5.0.tgz" - integrity sha512-y/M9weqWAH4iopRd7EHDEQQvpFPHj1AA3oHozE9tfITHUtTR7Z9PSlIRRG2l1GuW7sefC1cXFfIcF+cgnShdBA== - randombytes@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz"