Skip to content

Commit c91d25c

Browse files
🪲 [Fix]: Fix linter settings and docs (#24)
This pull request introduces updates to the repository's linting configuration, primarily disabling several linter validations and adjusting markdown lint rules to better accommodate the project's needs. **Linting configuration updates:** * Disabled multiple linter validations by setting related environment variables to `false` under the `Linter` section in `.github/PSModule.yml`. This prevents certain automated checks from running during the linting process. **Markdown lint rule adjustments:** * Disabled the `MD024` rule (no-duplicate-heading) to allow headings like INPUTS and OUTPUTS to be repeated, and made a minor formatting change to the `MD026` punctuation setting in `.github/linters/.markdown-lint.yml`.
1 parent b783bc4 commit c91d25c

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

.github/PSModule.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,13 @@ Test:
1919
# Build:
2020
# Docs:
2121
# Skip: true
22+
23+
Linter:
24+
env:
25+
VALIDATE_BIOME_FORMAT: false
26+
VALIDATE_BIOME_LINT: false
27+
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
28+
VALIDATE_JSCPD: false
29+
VALIDATE_JSON_PRETTIER: false
30+
VALIDATE_MARKDOWN_PRETTIER: false
31+
VALIDATE_YAML_PRETTIER: false

.github/linters/.markdown-lint.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@
88
###############
99
# Rules by id #
1010
###############
11-
MD004: false # Unordered list style
11+
MD004: false # Unordered list style
1212
MD007:
13-
indent: 2 # Unordered list indentation
13+
indent: 2 # Unordered list indentation
1414
MD013:
15-
line_length: 808 # Line length
15+
line_length: 808 # Line length
16+
MD024: false # no-duplicate-heading, INPUTS and OUTPUTS _can_ be the same item
1617
MD026:
17-
punctuation: ".,;:!。,;:" # List of not allowed
18-
MD029: false # Ordered list item prefix
19-
MD033: false # Allow inline HTML
20-
MD036: false # Emphasis used instead of a heading
18+
punctuation: '.,;:!。,;:' # List of not allowed
19+
MD029: false # Ordered list item prefix
20+
MD033: false # Allow inline HTML
21+
MD036: false # Emphasis used instead of a heading
2122

2223
#################
2324
# Rules by tags #
2425
#################
25-
blank_lines: false # Error on blank lines
26+
blank_lines: false # Error on blank lines

0 commit comments

Comments
 (0)