Skip to content

Commit

Permalink
Update eslint-plugin-mocha from v8 to v10 (#232)
Browse files Browse the repository at this point in the history
The only breaking changes are dropping of support for older versions of
Node.js, and adding `mocha/no-empty-description` to the recommended
configuration.
  • Loading branch information
Gudahtt authored Aug 15, 2022
1 parent 7023c31 commit 4cbe19c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/mocha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"devDependencies": {
"@metamask/eslint-config": "^9.0.0",
"eslint": "^7.23.0",
"eslint-plugin-mocha": "^8.1.0"
"eslint-plugin-mocha": "^10.1.0"
},
"peerDependencies": {
"@metamask/eslint-config": "^9.0.0",
"eslint": "^7.23.0",
"eslint-plugin-mocha": "^8.1.0"
"eslint-plugin-mocha": "^10.1.0"
}
}
1 change: 1 addition & 0 deletions packages/mocha/rules-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
}
],
"mocha/no-async-describe": "error",
"mocha/no-empty-description": "error",
"mocha/no-exclusive-tests": "error",
"mocha/no-exports": "error",
"mocha/no-global-tests": "error",
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -785,13 +785,13 @@ eslint-plugin-jsdoc@^39.2.9:
semver "^7.3.7"
spdx-expression-parse "^3.0.1"

eslint-plugin-mocha@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-8.1.0.tgz#b9aebbede46a808e46e622c8fd99d2a2f353e725"
integrity sha512-1EgHvXKRl7W3mq3sntZAi5T24agRMyiTPL4bSXe+B4GksYOjAPEWYx+J3eJg4It1l2NMNZJtk0gQyQ6mfiPhQg==
eslint-plugin-mocha@^10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-10.1.0.tgz#69325414f875be87fb2cb00b2ef33168d4eb7c8d"
integrity sha512-xLqqWUF17llsogVOC+8C6/jvQ+4IoOREbN7ZCHuOHuD6cT5cDD4h7f2LgsZuzMAiwswWE21tO7ExaknHVDrSkw==
dependencies:
eslint-utils "^2.1.0"
ramda "^0.27.1"
eslint-utils "^3.0.0"
rambda "^7.1.0"

eslint-plugin-node@^11.1.0:
version "11.1.0"
Expand Down Expand Up @@ -1862,10 +1862,10 @@ qs@~6.5.2:
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad"
integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==

ramda@^0.27.1:
version "0.27.1"
resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.27.1.tgz#66fc2df3ef873874ffc2da6aa8984658abacf5c9"
integrity sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==
rambda@^7.1.0:
version "7.2.1"
resolved "https://registry.yarnpkg.com/rambda/-/rambda-7.2.1.tgz#c533f6e2def4edcd59f967df938ace5dd6da56af"
integrity sha512-Wswj8ZvzdI3VhaGPkZAxaCTwuMmGtgWt7Zxsgyo4P+iTmVnkojvyWaOep5q3ZjMIecW0wtQa66GWxaKkZ24RAA==

read-package-json-fast@^2.0.1:
version "2.0.3"
Expand Down

0 comments on commit 4cbe19c

Please sign in to comment.