Skip to content

Commit

Permalink
Use our new 'markdown-link-check' to find all kinds of fun broken lin…
Browse files Browse the repository at this point in the history
…ks (#541)

Broken links are bad.
Now they are fixed.

---------

Co-authored-by: “Eli <“eli@trunk.io”>
  • Loading branch information
2 people authored and pat-trunk-io committed Jan 22, 2024
1 parent 449b7eb commit b040e77
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins:

- id: configs
uri: https://github.com/trunk-io/configs
ref: v0.0.8
ref: c4691c927f715a15afb369a17fe7fb63cdc7bd91

lint:
# enabled linters inherited from github.com/trunk-io/configs plugin
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ To add a new linter:
7. Run `trunk check` to lint your changes.
8. Open a PR!

[custom linters]: https://docs.trunk.io/docs/check-custom-linters
[custom parsers]: https://docs.trunk.io/docs/custom-parsers
[custom linters]: https://docs.trunk.io/check/custom-linters
[custom parsers]: https://docs.trunk.io/check/custom-parsers

## Actions

Expand Down Expand Up @@ -123,7 +123,7 @@ To add a new action:
7. Run `trunk check` to lint your changes.
8. Open a PR!

[actions]: https://docs.trunk.io/docs/actions
[actions]: https://docs.trunk.io/actions

## Tools

Expand Down
17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ trunk check enable {linter}
| Java | [google-java-format], [pmd], [semgrep] |
| Javascript | [deno], [eslint], [prettier], [rome], [semgrep] |
| JSON | [deno], [eslint], [prettier], [semgrep] |
| Kotlin | [detekt]<sup><a href="#note-detekt">1</a></sup>, [ktlint] |
| Kotlin | [detekt], [ktlint] |
| Kubernetes | [kube-linter] |
| Lua | [stylua] |
| Markdown | [deno], [markdownlint], [remark-lint], [markdown-link-check], [prettier] |
Expand All @@ -76,7 +76,7 @@ trunk check enable {linter}
| SQL | [sqlfluff], [sqlfmt], [sql-formatter] |
| SVG | [svgo] |
| Swift | [stringslint], [swiftlint], [swiftformat] |
| Terraform | [terraform] (validate and fmt), [checkov], [tflint]<sup><a href="#note-tflint">2</a></sup>, [tfsec], [terrascan] |
| Terraform | [terraform] (validate and fmt), [checkov], [tflint],[tfsec],[terrascan] |
| Terragrunt | [terragrunt] |
| Textproto | [txtpbfmt] |
| TOML | [taplo] |
Expand Down Expand Up @@ -174,19 +174,6 @@ trunk check enable {linter}
[yamllint]: https://github.com/adrienverge/yamllint#readme
[yapf]: https://github.com/google/yapf#readme

<sup><ol>

<li><a aria-hidden="true" tabindex="-1" class="customAnchor" id="note-detekt"></a>
Support for Detekt is under active development; see our <a href="https://docs.trunk.io/docs/check-supported-linters#detekt">docs</a> for more
details.
</li>

<li><a aria-hidden="true" tabindex="-1" class="customAnchor" id="note-tflint"></a>
<a href="https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/module-inspection.md">Module inspection</a>, <a href="https://github.com/terraform-linters/tflint-ruleset-aws/blob/master/docs/deep_checking.md">deep checking</a>, and setting variables are not currently supported.
</li>

</ol></sup>

<br/>

### Supported Trunk Actions
Expand Down
2 changes: 1 addition & 1 deletion linters/ansible-lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[Ansible-lint](https://github.com/ansible/ansible-lint) is used to check ansible playbooks. In order
to integrate well with trunk, ansible is usually run using triggers. The trigger system allows file
changes to trigger lint runs. An example of an ansible-lint trigger is included below, but more
information can be found in our [docs](https://docs.trunk.io/docs/check-config#trigger-rules).
information can be found in our [docs](https://docs.trunk.io/check/configuration#trigger-rules).

```yaml
lint:
Expand Down

0 comments on commit b040e77

Please sign in to comment.