Skip to content

fix(deps): update dependency eslint-plugin-mocha to v11#1292

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/eslint-plugin-mocha-11.x
Open

fix(deps): update dependency eslint-plugin-mocha to v11#1292
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/eslint-plugin-mocha-11.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 16, 2025

This PR contains the following updates:

Package Change Age Confidence
eslint-plugin-mocha ^6.3.0^11.0.0 age confidence

Release Notes

lo1tuma/eslint-plugin-mocha (eslint-plugin-mocha)

v11.2.0

Enhancements
  • Improve exported plugin type (#​400)
Build-Related
  • ci: drop node 23, add node 24 (#​397)

v11.1.0

Compare Source

Bug Fixes
  • Fix detecting mocha config calls in no-setup-in-describe (#​387)
  • Fix consistent-spacing-between-blocks when using timeout() modifier (#​379)
Enhancements
  • Include typescript declaration files in npm package (#​378)
Documentation
  • Fix valid-suite-title options documentation (#​385)
Code Refactoring
  • Add test to verify no-identical-title supports same titles in different suites (#​388)
  • Add test-case to verify generated tests work with consistent-spacing-between-blocks (#​386)
  • Add regression tests for no-setup-in-describe (#​380)

v11.0.0

Compare Source

Breaking Changes
  • Rename *-description rules to *-title (#​369)
  • Rename no-async-describe to no-async-suite (#​368)
  • Drop support for commonjs in no-exports rule (#​366)
  • Implement new resolve algorithm (#​365)
  • Switch to ESM (#​362)
  • Stop supporting ESLint versions < 9 (#​359)
  • Remove support for node v14, v16 and v18 (#​345)
Features
  • Implement new rule consistent-interface (#​367)
Enhancements
  • Add name to flat configs (#​356)
Dependency Upgrades
Code Refactoring
Build-Related
  • Use packtory as a release tool (#​374)
  • Update CI matrix to use latest node versions (#​370)

v10.5.0

Compare Source

Enhancements
  • Add name to flat configs (#​356)

v10.4.3

Compare Source

Bug Fixes
  • Fix support for ESLint versions < 8.40.0

v10.4.2

Compare Source

Bug Fixes
  • Stop using deprecated ESLint context methods

v10.4.1

Compare Source

Bug Fixes
  • Downgrade globals package to support node versions < v18

v10.4.0

Compare Source

Features
  • Add support for eslint flat config format (#​349)

v10.3.0

Compare Source

Features
  • Add consistent-spacing-between-blocks rule (#​340)
Documentation
  • Add screendriver to contributors (#​339)

v10.2.0

Compare Source

Features
  • Support function calls as custom names (to stop false warnings) (#​336)
Documentation
  • Automate docs with eslint-doc-generator (#​330)
Dependency Upgrades
  • Update all dependencies (#​334)
Build-Related
  • Include Node.js v20 in continuous integration pipeline (#​338)
  • Introduce "release-it" to make releases more comfortable (#​337)

v10.1.0

Compare Source

Enhancements
  • Support this for additionalCustomNames (#​329)

v10.0.5

Compare Source

Bug Fixes
  • Support Node 18 + switch from ramda to rambda (#​326)
Code Refactoring
  • Add unit tests to verify the correct reference is analyzed for shadowing (#​328)

v10.0.4

Compare Source

Documentation
  • Document recommended error level (#​317)
Dependency Upgrades
  • Bump package versions due to vulnerability issues (#​320)

v10.0.3

Compare Source

Bug Fixes
  • Allow dynamic expressions as description argument in no-empty-description (#​316)

v10.0.2

Compare Source

Bug Fixes
  • Fix no-empty-description rule to not report on dynamic values (#​315)
Code Refactoring
  • chore: switch yarn command to npm (#​309)

v10.0.1

Compare Source

Bug Fixes
  • Add mocha prefix to "no-empty-description" rule name in rec config (#​310)
Build-Related
  • chore: use npm-run-all to run lint/test scripts (#​308)

v10.0.0

Compare Source

Breaking Changes
  • Turn off no-hooks-for-single-case in recommended (#​307)
  • Drop support for node v12 (#​299)
Features
Enhancements
  • Add rule documentation URLs (and eslint-plugin-eslint-plugin) (#​294)
Documentation
  • Remove unavailable badge from README (#​305)
Dependency Upgrades
Code Refactoring
  • Remove eslint-config-holidaycheck dev dependency (#​300)
Build-Related
  • Add markdownlint and fix linting issues (#​306)

v9.0.0

Compare Source

Breaking Changes
  • Drop support for node v10 (#​285)
Bug Fixes
  • Fix false positive in no-setup-in-describe (#​293)
Features
  • Add "all" config preset which enables all rules (#​281)
Enhancements
  • Improve no-skipped performance (#​292)
  • Improve no-hooks-for-single-case performance (#​291)
  • Improve no-nested-tests performance (#​290)
  • Improve performance of no-identical-title (#​289)
  • Improve no-setup-in-describe performance (#​287)
  • Improve no-mocha-arrows performance (#​288)
  • Improve performance of no-exports rule (#​286)
  • Enable all rules during runtime benchmark (#​282)
Dependency Upgrades
Build-Related
  • Add node v16 to CI environments (#​283)

v8.2.0

Compare Source

Enhancements
  • Memoize names (increases speed by 10x) (#​280)
Code Refactoring
    • Avoid passing superfluous argument (#​278)

v8.1.0

Compare Source

Bug Fixes
  • Fix prefer-arrow-callback to not fail when using import.meta (#​266)
Enhancements
  • Speed up no-exclusive-tests and no-pending-tests (#​276)
  • set env.mocha on recommended config (#​273)
  • Add benchmarks for runtime with many files (#​269)
Documentation
  • Remove stray linebreak at top of file (#​272)
  • Add recommended tick to no-exports (#​271)
Build-Related
  • Improve benchmark test reliability (#​277)

v8.0.0

Compare Source

Breaking Changes
  • Consistently use shared settings in all rules (#​262)
  • remove autofix from no-skipped-tests rule fix (#​258)
Features
Enhancements
  • New option ignoreSkipped for handle-done-callback rule (#​260)
Documentation
  • Add meta.docs.description to all rules (#​257)
Dependency Upgrades
Code Refactoring
  • Use includes instead of indexOf (#​261)

v7.0.1

Compare Source

Bug Fixes
  • Fix no-setup-in-describe to not flag describe.skip() (#​256)
  • Fix max-top-level-suites to work with ES modules (#​255)
  • Support comments in arrow functions when fixing (#​253)

v7.0.0

Compare Source

Breaking Changes
  • Drop support for ESLint < v7 and Node.js < v10 (#​247)
Enhancements
  • Add meta.type and missing fixable: 'code' (#​245)
Dependency Upgrades
  • Updates of devDependencies (#​246)

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 13 times, most recently from 31af35d to 1c5a38d Compare July 23, 2025 08:56
@marslanabdulrauf marslanabdulrauf self-assigned this Jul 23, 2025
@marslanabdulrauf
Copy link
Contributor

eslint-plugin-mocha is being used in eslint-config-mitodl which is using v6.x. And we cannot upgrade that as mentioned here

@marslanabdulrauf marslanabdulrauf removed their assignment Jul 23, 2025
@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 9 times, most recently from 65c4d5f to 14535fd Compare July 29, 2025 12:42
@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 4 times, most recently from f250ea9 to 23ffdd3 Compare July 30, 2025 13:25
@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 4 times, most recently from 966a0ac to 581c492 Compare September 3, 2025 13:41
@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 2 times, most recently from 1d69527 to 655b4bc Compare September 9, 2025 11:37
@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 6 times, most recently from 3bc7ff7 to 3f75465 Compare September 20, 2025 10:05
@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 5 times, most recently from cd1ede6 to f77680c Compare September 24, 2025 17:26
@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 8 times, most recently from 411ab8a to 39602c4 Compare October 8, 2025 22:33
@renovate renovate bot force-pushed the renovate/eslint-plugin-mocha-11.x branch 3 times, most recently from 7fbdf7e to 4e58751 Compare October 13, 2025 09:49
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flow-vars": "^0.5.0",
"eslint-plugin-mocha": "^6.3.0",
"eslint-plugin-mocha": "^11.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Upgrading eslint-plugin-mocha to v11 is incompatible with the project's ESLint v6.8.0 and legacy .eslintrc configuration, which will cause the CI linting step to fail.
Severity: CRITICAL

Suggested Fix

Revert the upgrade of eslint-plugin-mocha. Alternatively, perform a coordinated upgrade of ESLint to v9.x and migrate the configuration from .eslintrc to the eslint.config.js format to support the new plugin version.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L53

Potential issue: The project's `package.json` is being updated to use
`eslint-plugin-mocha` v11.0.0, but the project is still on ESLint v6.8.0 and uses a
legacy `.eslintrc` configuration. The new plugin version requires ESLint v9.0.0+ and the
modern flat configuration format (`eslint.config.js`). Although the CI's `yarn install`
command uses `--ignore-engines` and will not fail on the peer dependency mismatch, the
subsequent `npm run lint` command will fail. ESLint v6.8.0 will be unable to load the
incompatible plugin, causing a runtime error that breaks the CI pipeline and blocks
merges.

Did we get this right? 👍 / 👎 to inform future reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant