Socket
Socket
Sign inDemoInstall

eslint-plugin-jest

Package Overview
Dependencies
Maintainers
11
Versions
325
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jest - npm Package Compare versions

Comparing version 26.5.3 to 26.6.0

docs/rules/max-expects.md

2

docs/rules/prefer-hooks-in-order.md

@@ -133,2 +133,2 @@ # Prefer having hooks in a consistent order (`prefer-hooks-in-order`)

- [Order of execution of describe and test blocks](https://jestjs.io/docs/setup-teardown#order-of-execution-of-describe-and-test-blocks)
- [Order of Execution](https://jestjs.io/docs/setup-teardown#order-of-execution)

@@ -1,2 +0,2 @@

# Enforces unbound methods are called with their expected scope (`unbound-method`)
# Enforce unbound methods are called with their expected scope (`unbound-method`)

@@ -3,0 +3,0 @@ ## Rule Details

@@ -63,3 +63,5 @@ "use strict";

messages: {
// eslint-disable-next-line eslint-plugin/no-unused-message-ids
unbound: DEFAULT_MESSAGE,
// eslint-disable-next-line eslint-plugin/no-unused-message-ids
unboundWithoutThisAnnotation: DEFAULT_MESSAGE

@@ -72,3 +74,3 @@ },

category: 'Best Practices',
description: 'Enforces unbound methods are called with their expected scope',
description: 'Enforce unbound methods are called with their expected scope',
requiresTypeChecking: true,

@@ -75,0 +77,0 @@ ...(baseRule === null || baseRule === void 0 ? void 0 : baseRule.meta.docs),

{
"name": "eslint-plugin-jest",
"version": "26.5.3",
"version": "26.6.0",
"description": "ESLint rules for Jest",

@@ -107,8 +107,8 @@ "keywords": [

"eslint-plugin-eslint-config": "^2.0.0",
"eslint-plugin-eslint-plugin": "^4.0.1",
"eslint-plugin-eslint-plugin": "^5.0.0",
"eslint-plugin-import": "^2.25.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-remote-tester": "^2.1.3",
"eslint-remote-tester-repositories": "^0.0.5",
"eslint-remote-tester": "^3.0.0",
"eslint-remote-tester-repositories": "~0.0.5",
"husky": "^7.0.2",

@@ -160,7 +160,5 @@ "is-ci": "^3.0.0",

"resolutions": {
"@semantic-release/npm/npm": "7.20.6",
"@typescript-eslint/experimental-utils": "^5.0.0",
"fsevents/node-gyp": "^7.0.0"
"@typescript-eslint/experimental-utils": "^5.0.0"
},
"packageManager": "yarn@3.2.1"
}

@@ -204,2 +204,3 @@ <div align="center">

| [expect-expect](docs/rules/expect-expect.md) | Enforce assertion to be made in a test body | ![recommended][] | |
| [max-expects](docs/rules/max-expects.md) | Enforces a maximum number assertion calls in a test body | | |
| [max-nested-describe](docs/rules/max-nested-describe.md) | Enforces a maximum depth to nested describe calls | | |

@@ -271,5 +272,5 @@ | [no-alias-methods](docs/rules/no-alias-methods.md) | Disallow alias methods | ![style][] | ![fixable][] |

| Rule | Description | Configurations | Fixable |
| ---------------------------------------------- | ------------------------------------------------------------- | -------------- | ------- |
| [unbound-method](docs/rules/unbound-method.md) | Enforces unbound methods are called with their expected scope | | |
| Rule | Description | Configurations | Fixable |
| ---------------------------------------------- | ------------------------------------------------------------ | -------------- | ------- |
| [unbound-method](docs/rules/unbound-method.md) | Enforce unbound methods are called with their expected scope | | |

@@ -276,0 +277,0 @@ <!-- end type rules list -->

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc