1.7.0 • Published 2 months ago

@backmarket-api/rulesets v1.7.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

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
1.6.2

2 months ago

1.7.0

2 months ago

1.6.1

2 months ago

1.6.0

2 months ago

1.5.2

8 months ago

1.5.1

10 months ago

1.5.0

10 months ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.0.0

2 years ago