Skip to content

Commit

Permalink
chore: Update trunk versions and configuration (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
blaine-arcjet authored Jan 9, 2024
1 parent 705f871 commit 2625ed4
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,6 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# One-off scripts
*.sh
1 change: 1 addition & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
plugins
user_trunk.yaml
user.yaml
tmp
10 changes: 10 additions & 0 deletions .trunk/configs/.markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ line_length: false
spaces: false
url: false
whitespace: false

# Override individual rules based on our README files
first-line-heading: false
no-inline-html:
allowed_elements:
- a
- picture
- source
- img
- p
7 changes: 7 additions & 0 deletions .trunk/configs/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
enable=all
source-path=SCRIPTDIR
disable=SC2154

# If you're having issues with shellcheck following source, disable the errors via:
# disable=SC1090
# disable=SC1091
22 changes: 14 additions & 8 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,35 @@
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.18.0
version: 1.19.0
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.4.0
ref: v1.4.2
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- [email protected]
- [email protected]
- [email protected]
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- semgrep@1.52.0
- semgrep@1.55.2
- [email protected]
- [email protected]
- git-diff-check
- markdownlint@0.37.0
- markdownlint@0.38.0
- [email protected]
- [email protected].0
- svgo@3.0.5
- [email protected].2
- [email protected].1
- svgo@3.2.0
- [email protected].7
disabled:
# tfsec and checkov are replaced by Trivy
- tfsec
Expand All @@ -38,6 +41,9 @@ lint:
- analyze/wasm/**
- protocol/gen/**
- "**/LICENSE"
- "**/CHANGELOG.md"
- .github/CODEOWNERS
- examples/**
threshold:
- linters: [markdownlint]
level: medium
Expand Down

0 comments on commit 2625ed4

Please sign in to comment.