Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ncalteen committed Nov 5, 2024
1 parent c0b54bf commit f23e674
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
MD003: false
MD004:
style: dash
MD013:
tables: false
MD026: false
MD029:
style: one
MD033: false
MD034: false
MD036: false
MD041: false
3 changes: 2 additions & 1 deletion .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ DISABLE:
# https://megalinter.io/latest/config-activation/
DISABLE_LINTERS:
- MARKDOWN_MARKDOWN_TABLE_FORMATTER
- REPOSITORY_GRYPE
- REPOSITORY_KICS
- REPOSITORY_TRIVY
- TYPESCRIPT_STANDARD
Expand Down Expand Up @@ -137,7 +138,7 @@ VALIDATE_ALL_CODEBASE: true
JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.yml
JAVASCRIPT_PRETTIER_CONFIG_FILE: prettierrc.yml
JSON_PRETTIER_CONFIG_FILE: prettierrc.yml
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdownlint.yml
MARKDOWN_MARKDOWNLINT_CONFIG_FILE: .markdown-lint.yml
TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.yml
TYPESCRIPT_PRETTIER_CONFIG_FILE: .prettierrc.yml
YAML_PRETTIER_CONFIG_FILE: .prettierrc.yml
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ IssueOps-Demo-Writers-NotATeam

The output of this action would be:

<!-- markdownlint-disable -->

```json
{
"name": "this-thing",
Expand All @@ -158,6 +160,8 @@ The output of this action would be:
}
```

<!-- markdownlint-enable -->

### No Template Provided

The `issue-form-template` input is optional. If not provided, the action will
Expand All @@ -167,6 +171,8 @@ the contents of the headers.

Using the same example as above, the output would instead be:

<!-- markdownlint-disable -->

```json
{
"the_name_of_the_thing": "this-thing",
Expand All @@ -186,6 +192,8 @@ Using the same example as above, the output would instead be:
}
```

<!-- markdownlint-enable -->

## Transformations

### Headings
Expand Down

0 comments on commit f23e674

Please sign in to comment.