/

Release

Changelog

v3.7

New

Rules file

Write the rules your team already follows in plain sentences and commit them as firstpass.yml. Firstpass applies them to every pull request and names the rule in the comment, so nobody has to guess where a remark came from.

  • RULES Up to 40 rules per repository, each one a single sentence.

  • RULES A rule can be limited to a folder with paths, and switched off for generated files with ignore.

  • REVIEW Comments that come from a rule carry its number and a link to the line in the rules file.

  • REVIEW severity decides whether a broken rule blocks the merge or is only reported.

firstpass.yml

1

 

rules:

2

 

  - “Money is stored as integer cents, never floats”

3

 

  - “Every new endpoint needs an auth test”

4

 

severity: block_on_bug

firstpass

Rule 1

​amount is parsed with parseFloat

billing/invoice.ts · line 88

Open a pull request.

Get your

first pass.

Free for public repositories · 14-day trial for private ones · no card

Open a pull request.

Get your

first pass.

Free for public repositories · 14-day trial for private ones · no card

Open a pull request.

Get your

first pass.

Free for public repositories · 14-day trial for private ones · no card

Create a free website with Framer, the website builder loved by startups, designers and agencies.