Skip to content

Commit

Permalink
fix: add markdownlint target
Browse files Browse the repository at this point in the history
It was missing from the website package.json, even though
it was checking the website directory. So should be there.

The markdownlint-cli2 tool does **not** check in the parent
directory, unlike the other tools, so add explicit config.

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
  • Loading branch information
afbjorklund committed Jun 25, 2023
1 parent 29c9068 commit e187723
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/package.json
Expand Up @@ -15,6 +15,8 @@
"typecheck": "tsc",
"format:check": "prettier --check '**/*.{md,js}' 'src/**/*.{css,ts,tsx}'",
"format:fix": "prettier --write '**/*.{md,js}' 'src/**/*.{css,ts,tsx}'",
"markdownlint:check": "markdownlint-cli2 --config ../.markdownlint.yaml \"**/*.md\" \"#node_modules\"",
"markdownlint:fix": "markdownlint-cli2-fix --config ../.markdownlint.yaml \"**/*.md\" \"#node_modules\"",
"lint:check": "cd .. && eslint website --ext js,ts,tsx",
"lint:fix": "cd .. && eslint website --fix --ext js,ts,tsx"
},
Expand Down

0 comments on commit e187723

Please sign in to comment.