Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prettier-plugin-gherkin

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-gherkin - npm Package Versions

2

3.1.0

Diff

Changelog

Source

[3.1.0] - 2024-09-02

  • Escaping multiple pipes should keep pipes escaped #30 by @jdeniau
jdeniau
published 3.0.0 •

Changelog

Source

[3.0.0] - 2024-07-30

Changed

[BREAKING] Set default tabWidth to 2, as documented in Gherkin Reference.

If you want to keep v2 version and use four space, you can override this values in your prettier configuration file:

{
  // …
  "overrides": [
    {
      "files": "*.feature",
      "options": {
        "tabWidth": 4
      }
    }
  ]
}
jdeniau
published 2.4.1 •

Changelog

Source

[2.4.1] - 2024-07-26

jdeniau
published 2.4.0 •

Changelog

Source

[2.4.0] - 2024-07-05

jdeniau
published 2.3.0 •

Changelog

Source

[2.3.0] - 2024-06-14

  • feat: docstring now supports all language #21 by @bdo
jdeniau
published 2.2.1 •

Changelog

Source

[2.2.1] - 2023-12-28

  • Fix new lines between two comments line #17 by @jdeniau
  • Fix new line for comments in data tables #18 by @jdeniau
jdeniau
published 2.2.0 •

Changelog

Source

[2.2.0] - 2023-12-28

  • Add forceNewlineBetweenStepBlocks option #16 by @jdeniau
jdeniau
published 2.1.1 •

Changelog

Source

[2.1.1] - 2023-11-21

  • Add repository, homepage and bugs field to package.json #14 by @sonallux
jdeniau
published 2.1.0 •

Changelog

Source

[2.1.0] - 2023-11-14

jdeniau
published 2.0.0 •

Changelog

Source

[2.0.0] - 2023-08-31

Prettier 3

Handle prettier 3. Prettier 2 is not compatible with this version as the plugin API did change totally.

Prettier 3 remove plugin auto-detection, so you now need to active the plugin explicitly:

package.json

-     "prettier": "^2.0.0",
-     "prettier-plugin-gherkin": "^1.0.0",
+     "prettier": "^3.0.0",
+     "prettier-plugin-gherkin": "^2.0.0",

.prettierrc

  {
+     "plugins": ["prettier-plugin-gherkin"]
  }

(maybe) remove support for Node 14

(maybe) drop support for node 14: prettier 3 does still support node 14, but it is unmaintained, and the tests does not pass on node 14 only. If you are willing to spend some time on this, feel free to open a PR, but I suggest you to migrate to a more recent version of node. #9 by @jdeniau

2
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