eslint-plugin-jest
Advanced tools
Comparing version 24.2.1 to 24.3.0
@@ -0,1 +1,8 @@ | ||
# [24.3.0](https://github.com/jest-community/eslint-plugin-jest/compare/v24.2.1...v24.3.0) (2021-03-13) | ||
### Features | ||
* **unbound-method:** create rule ([#765](https://github.com/jest-community/eslint-plugin-jest/issues/765)) ([b1f4ed3](https://github.com/jest-community/eslint-plugin-jest/commit/b1f4ed3f6bb0264fdefb5138ba913fa2bacc725c)) | ||
## [24.2.1](https://github.com/jest-community/eslint-plugin-jest/compare/v24.2.0...v24.2.1) (2021-03-10) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "eslint-plugin-jest", | ||
"version": "24.2.1", | ||
"version": "24.3.0", | ||
"description": "Eslint rules for Jest", | ||
@@ -65,3 +65,4 @@ "keywords": [ | ||
"testPathIgnorePatterns": [ | ||
"<rootDir>/lib/.*" | ||
"<rootDir>/lib/.*", | ||
"<rootDir>/src/rules/__tests__/fixtures/*" | ||
] | ||
@@ -125,4 +126,10 @@ }, | ||
"peerDependencies": { | ||
"@typescript-eslint/eslint-plugin": ">= 4", | ||
"eslint": ">=5" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@typescript-eslint/eslint-plugin": { | ||
"optional": true | ||
} | ||
}, | ||
"engines": { | ||
@@ -129,0 +136,0 @@ "node": ">=10" |
@@ -131,3 +131,3 @@ <div align="center"> | ||
<!-- begin rules list --> | ||
<!-- begin base rules list --> | ||
@@ -177,4 +177,29 @@ | Rule | Description | Configurations | Fixable | | ||
<!-- end rules list --> | ||
<!-- end base rules list --> | ||
## TypeScript Rules | ||
In addition to the above rules, this plugin also includes a few advanced rules | ||
that are powered by type-checking information provided by TypeScript. | ||
In order to use these rules, you must be using `@typescript-eslint/parser` & | ||
adjust your eslint config as outlined | ||
[here](https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/TYPED_LINTING.md) | ||
Note that unlike the type-checking rules in `@typescript-eslint/eslint-plugin`, | ||
the rules here will fallback to doing nothing if type information is not | ||
available, meaning its safe to include them in shared configs that could be used | ||
on JavaScript and TypeScript projects. | ||
Also note that `unbound-method` depends on `@typescript-eslint/eslint-plugin`, | ||
as it extends the original `unbound-method` rule from that plugin. | ||
<!-- begin type rules list --> | ||
| Rule | Description | Configurations | Fixable | | ||
| ---------------------------------------------- | ------------------------------------------------------------- | -------------- | ------- | | ||
| [unbound-method](docs/rules/unbound-method.md) | Enforces unbound methods are called with their expected scope | | | | ||
<!-- end type rules list --> | ||
## Credit | ||
@@ -181,0 +206,0 @@ |
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
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
251600
98
4074
221
3