Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-jest-formatting

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jest-formatting - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

docs/rules/padding-around-all.md

66

lib/index.js

@@ -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,
},
},
},
],
},
};
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