eslint-plugin-jest-formatting
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -203,39 +203,43 @@ "use strict"; | ||
plugins: ['jest-formatting'], | ||
overrides: { | ||
files: [ | ||
'**/*.test.*', | ||
'**/*_test.*', | ||
'**/*Test.*', | ||
'**/*.spec.*', | ||
'**/*_spec.*', | ||
'**/*Spec.*', | ||
'**/__tests__/*', | ||
], | ||
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-describe-blocks': 2, | ||
'jest-formatting/padding-around-test-blocks': 2, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/*.test.*', | ||
'**/*_test.*', | ||
'**/*Test.*', | ||
'**/*.spec.*', | ||
'**/*_spec.*', | ||
'**/*Spec.*', | ||
'**/__tests__/*', | ||
], | ||
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-describe-blocks': 2, | ||
'jest-formatting/padding-around-test-blocks': 2, | ||
}, | ||
}, | ||
}, | ||
], | ||
}, | ||
strict: { | ||
plugins: ['jest-formatting'], | ||
overrides: { | ||
files: [ | ||
'**/*.test.*', | ||
'**/*_test.*', | ||
'**/*Test.*', | ||
'**/*.spec.*', | ||
'**/*_spec.*', | ||
'**/*Spec.*', | ||
'**/__tests__/*', | ||
], | ||
rules: { | ||
'jest-formatting/padding-around-all': 2, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/*.test.*', | ||
'**/*_test.*', | ||
'**/*Test.*', | ||
'**/*.spec.*', | ||
'**/*_spec.*', | ||
'**/*Spec.*', | ||
'**/__tests__/*', | ||
], | ||
rules: { | ||
'jest-formatting/padding-around-all': 2, | ||
}, | ||
}, | ||
}, | ||
], | ||
}, | ||
}; |
{ | ||
"name": "eslint-plugin-jest-formatting", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Formatting rules for jest tests", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -76,2 +76,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) | ||
- [padding-around-test-blocks](docs/rules/padding-around-test-blocks.md) | ||
- [padding-around-all](docs/rules/padding-around-all.md) | ||
@@ -78,0 +79,0 @@ ### Deprecated |
@@ -250,39 +250,43 @@ /** | ||
plugins: ['jest-formatting'], | ||
overrides: { | ||
files: [ | ||
'**/*.test.*', | ||
'**/*_test.*', | ||
'**/*Test.*', | ||
'**/*.spec.*', | ||
'**/*_spec.*', | ||
'**/*Spec.*', | ||
'**/__tests__/*', | ||
], | ||
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-describe-blocks': 2, | ||
'jest-formatting/padding-around-test-blocks': 2, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/*.test.*', | ||
'**/*_test.*', | ||
'**/*Test.*', | ||
'**/*.spec.*', | ||
'**/*_spec.*', | ||
'**/*Spec.*', | ||
'**/__tests__/*', | ||
], | ||
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-describe-blocks': 2, | ||
'jest-formatting/padding-around-test-blocks': 2, | ||
}, | ||
}, | ||
}, | ||
], | ||
}, | ||
strict: { | ||
plugins: ['jest-formatting'], | ||
overrides: { | ||
files: [ | ||
'**/*.test.*', | ||
'**/*_test.*', | ||
'**/*Test.*', | ||
'**/*.spec.*', | ||
'**/*_spec.*', | ||
'**/*Spec.*', | ||
'**/__tests__/*', | ||
], | ||
rules: { | ||
'jest-formatting/padding-around-all': 2, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/*.test.*', | ||
'**/*_test.*', | ||
'**/*Test.*', | ||
'**/*.spec.*', | ||
'**/*_spec.*', | ||
'**/*Spec.*', | ||
'**/__tests__/*', | ||
], | ||
rules: { | ||
'jest-formatting/padding-around-all': 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
265021
55
2800
88