Socket
Socket
Sign inDemoInstall

eslint-plugin-jest

Package Overview
Dependencies
Maintainers
9
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 21.5.0 to 21.6.0

rules/__tests__/prefer_expect_assertions.test.js

8

index.js

@@ -11,2 +11,3 @@ 'use strict';

const validExpect = require('./rules/valid_expect');
const preferExpectAssertions = require('./rules/prefer_expect_assertions');

@@ -18,7 +19,5 @@ const snapshotProcessor = require('./processors/snapshot-processor');

recommended: {
plugins: [
'jest'
],
plugins: ['jest'],
env: {
'jest/globals': true
'jest/globals': true,
},

@@ -69,3 +68,4 @@ rules: {

'valid-expect': validExpect,
'prefer-expect-assertions': preferExpectAssertions,
},
};

@@ -1,1 +0,66 @@

{"name":"eslint-plugin-jest","version":"21.5.0","description":"Eslint rules for Jest","repository":"jest-community/eslint-plugin-jest","license":"MIT","keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Jonathan Kim","email":"hello@jkimbo.com","url":"jkimbo.com"},"files":["docs/","rules/","processors/","index.js"],"peerDependencies":{"eslint":">=3.6"},"scripts":{"lint":"eslint . --ignore-pattern '!.eslintrc.js'","test":"jest","precommit":"lint-staged","commitmsg":"commitlint -e $GIT_PARAMS"},"devDependencies":{"@commitlint/cli":"^5.2.0","@commitlint/config-conventional":"^5.1.3","eslint":"^4.10.0","eslint-config-prettier":"^2.7.0","eslint-plugin-prettier":"^2.3.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^6.0.0","prettier":"^1.8.1","semantic-release":"11.0.1"},"prettier":{"singleQuote":true,"trailingComma":"es5"},"lint-staged":{"*.js":["eslint --fix","git add"],"*.{md,json}":["prettier --write","git add"]},"jest":{"testEnvironment":"node"},"commitlint":{"extends":["@commitlint/config-conventional"]}}
{
"name": "eslint-plugin-jest",
"version": "21.6.0",
"description": "Eslint rules for Jest",
"repository": "jest-community/eslint-plugin-jest",
"license": "MIT",
"keywords": [
"eslint",
"eslintplugin",
"eslint-plugin"
],
"author": {
"name": "Jonathan Kim",
"email": "hello@jkimbo.com",
"url": "jkimbo.com"
},
"files": [
"docs/",
"rules/",
"processors/",
"index.js"
],
"peerDependencies": {
"eslint": ">=3.6"
},
"scripts": {
"lint": "eslint . --ignore-pattern '!.eslintrc.js'",
"test": "jest",
"precommit": "lint-staged",
"commitmsg": "commitlint -e $GIT_PARAMS"
},
"devDependencies": {
"@commitlint/cli": "^5.2.0",
"@commitlint/config-conventional": "^5.1.3",
"eslint": "^4.10.0",
"eslint-config-prettier": "^2.7.0",
"eslint-plugin-prettier": "^2.3.1",
"husky": "^0.14.3",
"jest": "^22.0.4",
"lint-staged": "^6.0.0",
"prettier": "^1.8.1",
"semantic-release": "11.0.1"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{md,json}": [
"prettier --write",
"git add"
]
},
"jest": {
"testEnvironment": "node"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}
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