Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint committed May 30, 2024
1 parent 58b18e2 commit a2ae1eb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,10 @@ To run lint checks, run:
```bash
trunk check # appending --all will run checks beyond changes on the current branch
```

Note that Trunk also has a [VS Code extension](https://marketplace.visualstudio.com/items?itemName=Trunk.io) you can install.

However, when installing it please be aware of the `trunk.autoInit` setting, which is `true` (enabled) by default
This controls whether to auto-initialize trunk in non-trunk repositories - meaning _any_ folder you open with VS Code will get
configured with a `.trunk` subfolder, and will start using Trunk. You should probably set this to `false` in your VS Code user settings,
to not interfere with other projects you may be working on.

0 comments on commit a2ae1eb

Please # to comment.