Skip to content

Commit 240ebac

Browse files
committed
adding precommit and sample markdown lint
1 parent bad8995 commit 240ebac

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

.markdownlint.jsonc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"default": false,
3+
}

.pre-commit-config.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: check-yaml
8+
- id: check-json
9+
- id: check-added-large-files
10+
- id: mixed-line-ending
11+
# - id: pretty-format-json
12+
# exclude: package-lock.json|package.json|jsconfig.json
13+
# args: [--autofix]
14+
- id: sort-simple-yaml
15+
- repo: https://github.com/igorshubovych/markdownlint-cli
16+
rev: v0.31.1
17+
hooks:
18+
- id: markdownlint
19+
args:
20+
[
21+
"--config",
22+
".markdownlint.jsonc",
23+
]

0 commit comments

Comments
 (0)