Skip to content

Commit 09ec104

Browse files
author
cyrus
committed
feat: add markdownlint configuration and specify linter rules path
1 parent 29b6e9d commit 09ec104

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.automation/.markdownlint.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"default": true,
3+
"MD013": {
4+
"line_length": 120,
5+
"code_blocks": false,
6+
"tables": false
7+
},
8+
"MD033": false,
9+
"MD041": false
10+
}

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ jobs:
6767
DEFAULT_BRANCH: main
6868
FILTER_REGEX_EXCLUDE: dist/**/*
6969
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70+
LINTER_RULES_PATH: .automation
7071
VALIDATE_ALL_CODEBASE: false
7172
# Only validate specific file types we want Super Linter to handle
7273
VALIDATE_MARKDOWN: true
7374
VALIDATE_YAML: true
7475
VALIDATE_DOCKERFILE_HADOLINT: true
7576
VALIDATE_GITHUB_ACTIONS: true
7677
VALIDATE_JSON: true
77-
MARKDOWN_CONFIG_FILE: .markdownlint.json

0 commit comments

Comments
 (0)