@backmarket-api/rulesets

1.7.0 • Public • Published

api-rulesets

The workflow might change in the future as Stoplight have now advanced style guides features.

How to use

  1. cd to your project
  2. touch .spectral.yaml
  3. Add this content
extends:
  - https://unpkg.com/@backmarket-api/rulesets@1.4

How to collaborate

We are using semantic-release.

You are adding a spectral rule that is not a breaking change

Example of breaking changes

  • You are increasing severity level from (warn|info|hint) to error
  • You are changing processing rules of custom functions that increase linting errors
  • Any change that increase linting errors
  1. Make you changes in a fix/[any-name] (eg: fix/add-kebab-cases-exceptions)
  2. Commit message must have the following format
* fix: Add buyback kebab-case paths exceptions
  1. Push you changes to your branch
  2. Ask a review
  3. Merge into the main branch

If you are breaking changes

  1. Make you changes in a feat/[any-name] (eg: feat/enforce-camel-case)
  2. Commit message must have the following format
* feat: Enforce camel case in properties
  1. Push you changes to your branch
  2. Ask a review
  3. Merge into the main branch
  4. Communicate in the API Chapter the change so people can update thier ruleset versions

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.7.010latest

Version History

VersionDownloads (Last 7 Days)Published
1.7.010
1.6.21
1.6.11
1.6.01
1.5.21
1.5.12
1.5.01
1.4.11
1.4.08
1.3.11
1.3.01
1.0.01

Package Sidebar

Install

npm i @backmarket-api/rulesets

Weekly Downloads

29

Version

1.7.0

License

MIT

Unpacked Size

19.9 kB

Total Files

14

Last publish

Collaborators

  • samzani