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 0.0.7 to 0.0.8

.nvmrc

8

package.json
{
"name": "eslint-plugin-jest-formatting",
"version": "0.0.7",
"version": "0.0.8",
"description": "Formatting rules for test written with jest",

@@ -26,8 +26,8 @@ "keywords": [

"eslint": "5.16.0",
"jest": "24.6.0"
"jest": "24.7.1"
},
"engines": {
"node": ">=0.10.0"
"node": ">=8.0.0"
},
"license": "ISC"
"license": "MIT"
}

@@ -51,5 +51,5 @@ [![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-test-blocks](docs/rules/padding-test-blocks.md)
* [padding-before-test-blocks](docs/rules/padding-before-test-blocks.md)
* [padding-describe-blocks](docs/rules/padding-describe-blocks.md)
* [padding-before-describe-blocks](docs/rules/padding-before-describe-blocks.md)

@@ -56,0 +56,0 @@

@@ -49,18 +49,22 @@ /**

const invalidTests = `
test('foo', ()=>{
describe('foo', ()=>{
test('foo', ()=>{
})
test('bar', ()=>{
})
test('bar', ()=>{
})
})
});
`;
const validTests = `
test('foo', ()=>{
describe('foo', ()=>{
test('foo', ()=>{
})
})
test('bar', ()=>{
test('bar', ()=>{
})
})
});
`;

@@ -67,0 +71,0 @@

Sorry, the diff of this file is not supported yet

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