ToolMatter
Your Apps in Action
Risersoft
Buy
Try
Explore
Documentation
Public
Use this form to visualize Configuration schema for trunk, a powerful linter runner - https://docs.trunk.io.
{{repoTitle.MainEntity}}
.lint
_
lint.runtimes runtimes
#
type
download
version
min_system_version
Actions
{{$index+1}}.
{{row.type}}
{{row.download}}
{{row.version}}
{{row.min_system_version}}
lint.linters linters
#
name
type
include_lfs
stdin
run_linter_from
formatter
allow_empty_files
runtime
package
download
Actions
{{$index+1}}.
{{row.name}}
{{row.type}}
{{row.include_lfsSelected.DisplayText}}
{{row.stdinSelected.DisplayText}}
{{row.run_linter_from}}
{{row.formatterSelected.DisplayText}}
{{row.allow_empty_filesSelected.DisplayText}}
{{row.runtime}}
{{row.package}}
{{row.download}}
lint.enabled enabled
#
name
Actions
{{$index+1}}.
{{row.name}}
lint.ignore ignore
#
Actions
{{$index+1}}.
lint.downloads downloads
#
name
version
executable
Actions
{{$index+1}}.
{{row.name}}
{{row.version}}
{{row.executableSelected.DisplayText}}
lint.environments environments
#
name
Actions
{{$index+1}}.
{{row.name}}
{{repoTitle.MainEntity}}
type
download
version
min_system_version
environment environment
#
name
value
Actions
{{$index+1}}.
{{row.name}}
{{row.value}}
{{repoTitle.MainEntity}}
name
value
list list
#
Values
Actions
{{$index+1}}.
{{repoTitle.MainEntity}}
name - Linter ID; use this in fields like `enabled` to reference this linter
type - What type of linter this is; controls how `trunk` runs it and parses its output
include_lfs - Whether or not this linter can handle LFS files; default: false
stdin - Whether or not this linter takes its input from stdin; default: false
run_linter_from
formatter - Whether or not this linter is considered run by `trunk fmt`; default: false
allow_empty_files - Whether or not this will be run on an empty file
runtime - The runtime, toolchain, and package manager used to run and install a linter
package - The package containing this linter; installed using the runtime's package manager
download - The download containing this linter (i.e. the `name` of an entry in `downloads`)
command Command to invoke the linter with
#
Actions
{{$index+1}}.
success_codes Exit codes corresponding to no issues found or issues found
#
Values
Actions
{{$index+1}}.
error_codes Exit codes implying the linter experienced an internal error
#
Values
Actions
{{$index+1}}.
environment Environment variables set when `trunk` runs the linter
#
name
value
Actions
{{$index+1}}.
{{row.name}}
{{row.value}}
extra_packages Extra packages needed to run this linter; also installed using the runtime's package manager
#
Values
Actions
{{$index+1}}.
{{repoTitle.MainEntity}}
name
packages packages
#
Values
Actions
{{$index+1}}.
{{repoTitle.MainEntity}}
linters List of linter IDs Note: use [ALL] to refer to all linters
#
Values
Actions
{{$index+1}}.
paths Paths to exclude from linting
#
Values
Actions
{{$index+1}}.
{{repoTitle.MainEntity}}
name
version
executable
downloads downloads
#
os
cpu
url
version
strip_components
sha256
Actions
{{$index+1}}.
{{row.os}}
{{row.cpu}}
{{row.url}}
{{row.version}}
{{row.strip_components}}
{{row.sha256}}
{{repoTitle.MainEntity}}
×
os
cpu
url
version
strip_components
sha256
{{repoTitle.MainEntity}}
name
environment environment
#
name
value
Actions
{{$index+1}}.
{{row.name}}
{{row.value}}
Download Json
{{message}}