eslint-plugin-jest-formatting
Advanced tools
Comparing version 1.0.0 to 1.1.0
# Changelog | ||
## v1.1.0 - August 14, 2019 | ||
### Changed | ||
- Removed `padding-around-expect-groups` from the "recommended" set of rules. | ||
### Added | ||
- Exposes "strict" rules for eslint `extends`. This preset is equivalent to version `1.0.0`'s "recommended" preset. | ||
## v1.0.0 - August 12, 2019 | ||
### Added | ||
- Exposes "recommended" rules for eslint `extends` | ||
- Improve documentation | ||
### Deprecated | ||
- The `padding-before-all` rule has been deprecated | ||
## v0.1.0 - July 20, 2019 | ||
@@ -7,13 +29,13 @@ | ||
- padding-before-all | ||
- `padding-before-all` | ||
- padding-before-after-all-blocks | ||
- `padding-before-after-all-blocks` | ||
- padding-before-after-each-blocks | ||
- `padding-before-after-each-blocks` | ||
- padding-before-before-all-blocks | ||
- `padding-before-before-all-blocks` | ||
- padding-before-before-each-blocks | ||
- `padding-before-before-each-blocks` | ||
- padding-before-expect-statements | ||
- `padding-before-expect-statements` | ||
@@ -20,0 +42,0 @@ ### Other |
@@ -82,2 +82,13 @@ "use strict"; | ||
'jest-formatting/padding-around-before-each-blocks': 2, | ||
'jest-formatting/padding-around-describe-blocks': 2, | ||
'jest-formatting/padding-around-test-blocks': 2, | ||
}, | ||
}, | ||
strict: { | ||
plugins: ['jest-formatting'], | ||
rules: { | ||
'jest-formatting/padding-around-after-all-blocks': 2, | ||
'jest-formatting/padding-around-after-each-blocks': 2, | ||
'jest-formatting/padding-around-before-all-blocks': 2, | ||
'jest-formatting/padding-around-before-each-blocks': 2, | ||
'jest-formatting/padding-around-expect-groups': 2, | ||
@@ -84,0 +95,0 @@ 'jest-formatting/padding-around-describe-blocks': 2, |
{ | ||
"name": "eslint-plugin-jest-formatting", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Formatting rules for jest tests", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -51,3 +51,3 @@ [![CircleCI](https://circleci.com/gh/dangreenisrael/eslint-plugin-jest-formatting/tree/master.svg?style=svg)](https://circleci.com/gh/dangreenisrael/eslint-plugin-jest-formatting/tree/master) | ||
You can use our recommeneded settings which enables all of the rules for you | ||
You can use our "recommended" settings which enables most of the rules for you | ||
@@ -60,2 +60,10 @@ ```json | ||
We also support a "strict" settings which enabled all of the rules for you | ||
```json | ||
{ | ||
"extends": ["plugin:jest-formatting/strict"] | ||
} | ||
``` | ||
## Rule Documentation | ||
@@ -62,0 +70,0 @@ |
@@ -92,2 +92,13 @@ /** | ||
'jest-formatting/padding-around-before-each-blocks': 2, | ||
'jest-formatting/padding-around-describe-blocks': 2, | ||
'jest-formatting/padding-around-test-blocks': 2, | ||
}, | ||
}, | ||
strict: { | ||
plugins: ['jest-formatting'], | ||
rules: { | ||
'jest-formatting/padding-around-after-all-blocks': 2, | ||
'jest-formatting/padding-around-after-each-blocks': 2, | ||
'jest-formatting/padding-around-before-all-blocks': 2, | ||
'jest-formatting/padding-around-before-each-blocks': 2, | ||
'jest-formatting/padding-around-expect-groups': 2, | ||
@@ -94,0 +105,0 @@ 'jest-formatting/padding-around-describe-blocks': 2, |
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
253366
2379
87