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 2.3.0 to 2.4.0

src/rules/no-duplicate-tags.js

2

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

@@ -5,0 +5,0 @@ "author": "Vasiliki Siakka",

@@ -38,2 +38,3 @@ # Gherkin lint

| `no-dupe-scenario-names` | Disallows duplicate Scenario names |
| `no-duplicate-tags` | Disallows duplicate tags on the same Feature or Scenario |
| `no-empty-file` | Disallows empty feature files |

@@ -69,4 +70,4 @@ | `no-files-without-scenarios` | Disallows files with no scenarios |

You can override the defaults for `indentation` like this:
`Step` will be used as a fallback if the keyword of the step is not specified.
You can override the defaults for `indentation` like this:
`Step` will be used as a fallback if the keyword of the step is not specified.
This feature is able to handle all localizations of the gherkin steps.

@@ -117,3 +118,3 @@ ```

## Configuration File
The default name for the configuration file is `.gherkin-lintrc` and it's expected to be in your working directory.
The default name for the configuration file is `.gherkin-lintrc` and it's expected to be in your working directory.

@@ -120,0 +121,0 @@ If you are using a file with a different name or a file in a different folder, you will need to specify the `-c` or `--config` option and pass in the relative path to your configuration file. Eg: `gherkin-lint -c path/to/configuration/file.extention`

@@ -19,3 +19,3 @@ #!/usr/bin/env node

.usage('[options] <feature-files>')
.option('-f, --format [format]', 'output format. Defaults to stylish')
.option('-f, --format [format]', 'output format. Possible values: json, stylish. Defaults to stylish')
.option('-i, --ignore <...>', 'comma seperated list of files/glob patterns that the linter should ignore, overrides ' + featureFinder.defaultIgnoreFileName + ' file', list)

@@ -22,0 +22,0 @@ .option('-c, --config [config]', 'configuration file, defaults to ' + configParser.defaultConfigFileName)

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