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

gherkin-lint

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gherkin-lint - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

src/rules/indentation.js

5

package.json
{
"name": "gherkin-lint",
"version": "0.1.3",
"version": "0.1.4",
"description": "A Gherkin linter/validator written in javascript",

@@ -9,2 +9,5 @@ "author": "Vasiliki Siakka",

"name": "Tim Brust"
},
{
"name": "Oskar Pfeifer-Bley"
}

@@ -11,0 +14,0 @@ ],

2

README.md

@@ -60,3 +60,3 @@ # Gherkin lint

{
"indentation" : "on", { "feature": 0, "background": 0, "scenario": 0, "step": 2 }
"indentation" : ["on", { "Feature": 0, "Background": 0, "Scenario": 0, "Step": 2 }]
}

@@ -63,0 +63,0 @@ ```

@@ -62,3 +62,3 @@ // Operations on rules

var ruleObj = getRule(rule);
var extraConfig = typeof(ruleConfig[1]) === String ? ruleConfig[1] : [ruleConfig[1]];
var extraConfig = typeof(ruleConfig[1]) === 'string' ? [ruleConfig[1]] : ruleConfig[1];

@@ -65,0 +65,0 @@ for (var subConfig in extraConfig) {

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