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.0.0 to 1.1.0

34

CHANGELOG.md
# 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,

2

package.json
{
"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,

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