gherkin-lint
Advanced tools
Comparing version 2.4.0 to 2.5.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67553
91
1343
141
10