eslint-plugin-jest
Advanced tools
Comparing version 22.5.1 to 22.6.0
{ | ||
"name": "eslint-plugin-jest", | ||
"version": "22.5.1", | ||
"version": "22.6.0", | ||
"description": "Eslint rules for Jest", | ||
@@ -19,6 +19,6 @@ "repository": "jest-community/eslint-plugin-jest", | ||
"docs/", | ||
"rules/", | ||
"processors/", | ||
"index.js" | ||
"src/", | ||
"lib/" | ||
], | ||
"main": "lib/", | ||
"engines": { | ||
@@ -31,9 +31,23 @@ "node": ">=6" | ||
"scripts": { | ||
"lint": "eslint . --ignore-pattern '!.eslintrc.js'", | ||
"postinstall": "yarn build", | ||
"lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts", | ||
"prettylint": "prettylint docs/**/*.md README.md package.json", | ||
"test": "jest" | ||
"prepublishOnly": "yarn build", | ||
"test": "jest", | ||
"build": "babel --extensions .js,.ts src --out-dir lib", | ||
"typecheck": "tsc -p ." | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.4", | ||
"@babel/core": "^7.4.4", | ||
"@babel/preset-env": "^7.4.4", | ||
"@babel/preset-typescript": "^7.3.3", | ||
"@commitlint/cli": "^7.0.0", | ||
"@commitlint/config-conventional": "^7.0.1", | ||
"@types/eslint": "^4.16.6", | ||
"@types/jest": "^24.0.12", | ||
"@types/node": "^12.0.0", | ||
"@typescript-eslint/eslint-plugin": "^1.9.1-alpha.3", | ||
"@typescript-eslint/experimental-utils": "^1.9.1-alpha.3", | ||
"babel-jest": "^24.8.0", | ||
"eslint": "^5.1.0", | ||
@@ -49,3 +63,4 @@ "eslint-config-prettier": "^4.1.0", | ||
"prettier": "^1.10.2", | ||
"prettylint": "^1.0.0" | ||
"prettylint": "^1.0.0", | ||
"typescript": "^3.4.5" | ||
}, | ||
@@ -55,6 +70,6 @@ "prettier": { | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
"trailingComma": "all" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"*.{js,ts}": [ | ||
"eslint --fix", | ||
@@ -80,3 +95,6 @@ "git add" | ||
"displayName": "test", | ||
"testEnvironment": "node" | ||
"testEnvironment": "node", | ||
"testPathIgnorePatterns": [ | ||
"<rootDir>/lib/.*" | ||
] | ||
}, | ||
@@ -88,2 +106,5 @@ { | ||
"<rootDir>/**/*.js" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"<rootDir>/lib/.*" | ||
] | ||
@@ -90,0 +111,0 @@ } |
@@ -99,2 +99,3 @@ [![Build Status](https://travis-ci.org/jest-community/eslint-plugin-jest.svg?branch=master)](https://travis-ci.org/jest-community/eslint-plugin-jest) | ||
| [no-disabled-tests][] | Disallow disabled tests | ![recommended][] | | | ||
| [no-commented-out-tests][] | Disallow commented out tests | | | | ||
| [no-empty-title][] | Disallow empty titles | | | | ||
@@ -132,2 +133,11 @@ | [no-focused-tests][] | Disallow focused tests | ![recommended][] | | | ||
## Related Projects | ||
### eslint-plugin-jest-formatting | ||
This project aims to provide formatting rules (auto-fixable where possible) to | ||
ensure consistency and readability in jest test suites. | ||
https://github.com/dangreenisrael/eslint-plugin-jest-formatting | ||
[consistent-test-it]: docs/rules/consistent-test-it.md | ||
@@ -138,2 +148,3 @@ [expect-expect]: docs/rules/expect-expect.md | ||
[no-disabled-tests]: docs/rules/no-disabled-tests.md | ||
[no-commented-out-tests]: docs/rules/no-commented-out-tests.md | ||
[no-empty-title]: docs/rules/no-empty-title.md | ||
@@ -140,0 +151,0 @@ [no-focused-tests]: docs/rules/no-focused-tests.md |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
392621
177
11890
176
24
1
7
1