Skip to content

Commit ed72659

Browse files
committed
update doc for package.json linting
Issue: CLDSRV-875
1 parent 8dacb04 commit ed72659

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,13 @@ yarn dev
1515

1616
This will start the developement server, watching for changes and restarting
1717
as needed.
18+
19+
### Formatting
20+
21+
Prettier is enforced in CI for changed files, including `package.json`.
22+
Since `yarn add`/`yarn remove` may rewrite `package.json` with 2-space
23+
indentation, run formatting before pushing dependency changes:
24+
25+
```bash
26+
yarn format
27+
```

0 commit comments

Comments
 (0)