Skip to content

Commit 8fb552a

Browse files
🪲 [Fix]: Fix linter settings and docs (#20)
This pull request introduces updates to the repository's linting configuration. It disables several linter validations in the workflow and adjusts Markdown linting rules to better accommodate the project's documentation needs. **Linter configuration updates:** * Disabled multiple linter validations (e.g., Biome format/lint, GitHub Actions Zizmor, JSCPD, Prettier for JSON/Markdown/YAML) in the `Linter` section of `.github/PSModule.yml` by setting their corresponding environment variables to `false`. **Markdown linting rule adjustments:** * Disabled the `MD024` rule (no duplicate headings) and updated the punctuation list for the `MD026` rule in `.github/linters/.markdown-lint.yml` to allow duplicate headings and ensure correct punctuation handling.
1 parent 3dce3ce commit 8fb552a

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)