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.4.0 to 2.5.0

src/rules/no-homogenous-tags.js

7

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

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

"name": "Joscha Feth"
},
{
"name": "Simon St John-Green"
}

@@ -43,3 +46,3 @@ ],

"devDependencies": {
"chai": "3.5.0",
"chai": "4.1.1",
"eslint": "2.13.1",

@@ -46,0 +49,0 @@ "mocha": "2.5.3",

@@ -27,25 +27,28 @@ # Gherkin lint

| Name | Functionality |
|---------------------------------------------|------------------------------------------------------------|
| `no-tags-on-backgrounds` * | Disallows tags on Background |
| `one-feature-per-file` * | Disallows multiple Feature definitions in the same file |
| `up-to-one-background-per-file` * | Disallows multiple Background definition in the same file |
|   | |
| [`indentation`](#indentation) | Allows the user to specify indentation rules |
| [`name-length`](#name-length) | Allows restricting length of Feature/Scenario/Step names |
| [`new-line-at-eof`](#new-line-at-eof) | Disallows/enforces new line at EOF |
| `no-dupe-feature-names` | Disallows duplicate Feature names |
| `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 |
| `no-files-without-scenarios` | Disallows files with no scenarios |
| `no-multiple-empty-lines` | Disallows multiple empty lines |
| `no-partially-commented-tag-lines` | Disallows partially commented tag lines |
| [`no-restricted-tags`](#no-restricted-tags) | Disallow use of particular @tags |
| `no-scenario-outlines-without-examples` | Disallows scenario outlines without examples |
| `no-trailing-spaces` | Disallows trailing spaces |
| `no-unnamed-features` | Disallows empty Feature name |
| `no-unnamed-scenarios` | Disallows empty Scenario name |
| `use-and` | Disallows repeated step names requiring use of And instead |
| Name | Functionality |
|---------------------------------------------|------------------------------------------------------------------------------------------|
| `no-tags-on-backgrounds` * | Disallows tags on Background |
| `one-feature-per-file` * | Disallows multiple Feature definitions in the same file |
| `up-to-one-background-per-file` * | Disallows multiple Background definition in the same file |
|   | |
| [`indentation`](#indentation) | Allows the user to specify indentation rules |
| [`name-length`](#name-length) | Allows restricting length of Feature/Scenario/Step names |
| [`new-line-at-eof`](#new-line-at-eof) | Disallows/enforces new line at EOF |
| `no-dupe-feature-names` | Disallows duplicate Feature names |
| `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 |
| `no-files-without-scenarios` | Disallows files with no scenarios |
| `no-homogenous-tags` | Disallows tags present on every Scenario in a Feature, rather than on the Feature itself |
| `no-multiple-empty-lines` | Disallows multiple empty lines |
| `no-partially-commented-tag-lines` | Disallows partially commented tag lines |
| [`no-restricted-tags`](#no-restricted-tags) | Disallow use of particular @tags |
| `no-scenario-outlines-without-examples` | Disallows scenario outlines without examples |
| `no-superfluous-tags` | Disallows tags present on a Feature and a Scenario in that Feature |
| `no-trailing-spaces` | Disallows trailing spaces |
| `no-unnamed-features` | Disallows empty Feature name |
| `no-unnamed-scenarios` | Disallows empty Scenario name |
| `use-and` | Disallows repeated step names requiring use of And instead |
\* These rules cannot be turned off because they detect undocumented cucumber functionality that causes the [gherkin](https://github.com/cucumber/gherkin-javascript) parser to crash.

@@ -52,0 +55,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