Skip to content

Commit 56b36ba

Browse files
committed
Move config file to right place in relation to node_modules
#2268 (review) Still need to consider how to ensure that the extension picks up the right config.
1 parent b51d731 commit 56b36ba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.markdownlint-cli2.cjs renamed to extensions/ql-vscode/.markdownlint-cli2.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ module.exports = {
88
outputFormatters: [
99
[ "markdownlint-cli2-formatter-pretty", { "appendLink": true } ] // ensures the error message includes a link to the rule documentation
1010
]
11-
}
11+
}

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@
14221422
"update-vscode": "node ./node_modules/vscode/bin/install",
14231423
"format": "prettier --write **/*.{ts,tsx} && eslint . --ext .ts,.tsx --fix",
14241424
"lint": "eslint . --ext .js,.ts,.tsx --max-warnings=0",
1425-
"lint:markdown": "markdownlint-cli2-config \"../../.markdownlint-cli2.cjs\" \"../../**/*.{md,mdx}\" \"!**/node_modules/**\"",
1425+
"lint:markdown": "markdownlint-cli2 \"../../**/*.{md,mdx}\" \"!**/node_modules/**\"",
14261426
"format-staged": "lint-staged",
14271427
"storybook": "start-storybook -p 6006",
14281428
"build-storybook": "build-storybook",

0 commit comments

Comments
 (0)