Skip to content

Commit

Permalink
👷 Add markdownlint-cli2 to the CI (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
NatoBoram authored Jun 13, 2024
1 parent d1f94c7 commit 632dfad
Show file tree
Hide file tree
Showing 5 changed files with 137 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/.markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
first-line-heading: false
1 change: 1 addition & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gitignore: true
3 changes: 3 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default: true
line-length: false
no-inline-html: false
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"docker:run": "docker run gigachad.ts",
"docs": "typedoc",
"format": "prettier --write .",
"lint": "eslint . && prettier --check .",
"lint:fix": "eslint --fix .; prettier --list-different --write .",
"lint": "eslint . && markdownlint-cli2 \"**/*.md\" && prettier --check .",
"lint:fix": "eslint --fix --quiet .; markdownlint-cli2 \"**/*.md\" --fix; prettier --list-different --write .",
"start": "node dist/main.js",
"test": "vitest"
},
Expand All @@ -58,6 +58,7 @@
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.4.0",
"markdownlint-cli2": "^0.13.0",
"prettier": "^3.3.2",
"tsx": "^4.15.3",
"typedoc": "^0.25.13",
Expand Down
129 changes: 129 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 632dfad

Please sign in to comment.