prettier-plugin-gherkin
Advanced tools
Comparing version 2.4.1 to 3.0.0
# CHANGELOG | ||
## Unreleased | ||
## [3.0.0] - 2024-07-30 | ||
### Changed | ||
[BREAKING] Set default `tabWidth` to 2, as documented in [Gherkin Reference](https://cucumber.io/docs/gherkin/reference/). | ||
If you want to keep v2 version and use four space, you can override this values in your prettier configuration file: | ||
```json | ||
{ | ||
// … | ||
"overrides": [ | ||
{ | ||
"files": "*.feature", | ||
"options": { | ||
"tabWidth": 4 | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
## [2.4.1] - 2024-07-26 | ||
- Re-set hardline for Background [#27](https://github.com/mapado/prettier-plugin-gherkin/pull/27) by [@jdeniau](https://github.com/jdeniau) | ||
## [2.4.0] - 2024-07-05 | ||
@@ -4,0 +32,0 @@ |
@@ -0,0 +0,0 @@ export function isWithLocation(node) { |
@@ -495,3 +495,3 @@ import { Parser as GherkinParser, AstBuilder, GherkinClassicTokenMatcher, } from '@cucumber/gherkin'; | ||
printWidth: 120, | ||
tabWidth: 4, | ||
tabWidth: 2, | ||
}, | ||
@@ -498,0 +498,0 @@ options: { |
{ | ||
"name": "prettier-plugin-gherkin", | ||
"version": "2.4.1", | ||
"version": "3.0.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "This prettier plugin format your gherkin (`.feature` files) documents.", |
@@ -709,3 +709,3 @@ import { | ||
printWidth: 120, | ||
tabWidth: 4, | ||
tabWidth: 2, | ||
}, | ||
@@ -712,0 +712,0 @@ options: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
481076
87
2379
1