gherkin-lint
Advanced tools
Comparing version 2.3.0 to 2.4.0
{ | ||
"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
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
59483
79
1209
138
8