Skip to content

Commit

Permalink
chore: update linters
Browse files Browse the repository at this point in the history
Updates linter configurations.

Signed-off-by: Ryan Johnson <[email protected]>
  • Loading branch information
tenthirtyam committed Jun 19, 2024
1 parent 66c1ea9 commit 54d920e
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Sets the kind of files to lint.
kinds:
- playbook

# Skips the line-length rule.
skip_list:
- line-length
2 changes: 1 addition & 1 deletion .hadolint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---

# Sets the rules to ignore.
ignored:
- DL3008
- DL3015
28 changes: 24 additions & 4 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
---

# MD013: Line length
# Disables rule MD013. Checks for line length.
MD013: false

# MD026: Trailing Punctuation in Header
# Customizes rule MD026. Checks for trailing punctuation in headers.
MD026:
punctuation: ".,;:"

# MD033" Inline HTML
# Disables rule MD024. Checks for multiple headers with the same content.
MD024: false

# Disables rule MD033. Checks for inline HTML.
MD033: false

# Disables rule MD041. Checks if the first line in file is a top level header.
MD041: false

# Disables rule MD045. Checks if images have alternate text.
MD045: false

# Disables rule MD046. Checks for code block style.
MD046: false

# Disables rule MD053. Checks if link image reference definitions are needed.
MD053: false

# Disables rule MD055. Checks for consistent list style.
MD055: false

# Disables rule MD056. Checks for table column count.
MD056: false
1 change: 0 additions & 1 deletion builds/linux/ubuntu/20-04-lts/data/user-data.pkrtpl.hcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#cloud-config

# Copyright 2023-2024 Broadcom. All rights reserved.
# Copyright 2023-2024 Broadcom. All rights reserved.
# SPDX-License-Identifier: BSD-2

Expand Down
1 change: 0 additions & 1 deletion docs/getting-started/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ machine images.

Replace the example passwords and keys.


```hcl linenums="1" title="config/build.pkrvars.hcl" hl_lines="1"
--8<-- "./builds/build.pkrvars.hcl.example:10:100"
```
Expand Down
1 change: 0 additions & 1 deletion docs/getting-started/downloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ Download the guest operating system ISOs using the download script (`./download.

The downloads are supported by a JSON configuration file (`project.json`) that includes the details for each guest operating system.


2. Select a guest operating system.

```shell
Expand Down

0 comments on commit 54d920e

Please sign in to comment.