File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 4747 // but markdownlint only considers that config when linting files in
4848 // extensions/ql-vscode/ or its subfolders. Therefore, we have to explicitly
4949 // load the custom rules here too.
50- //
51- // Configuration of the default rules is done in .markdownlint.json, which
52- // is picked up by the extension automatically, and read explicitly in
53- // .markdownlint-cli2.cjs
5450 "markdownlint.customRules" : [
5551 " ./extensions/ql-vscode/node_modules/@github/markdownlint-github/src/rules/no-default-alt-text.js" ,
5652 " ./extensions/ql-vscode/node_modules/@github/markdownlint-github/src/rules/no-generic-link-text.js"
5753 ],
5854
55+ // This ensures that the rule enablement done by github-markdownlint is considered
56+ // by the extension too.
57+ //
58+ // Additional nonfiguration of the default rules is done in .markdownlint.json,
59+ // which is picked up by the extension automatically, and read explicitly in
60+ // .markdownlint-cli2.cjs
61+ "markdownlint.config" : {
62+ "extends" : " ./extensions/ql-vscode/node_modules/@github/markdownlint-github/style/accessibility.json"
63+ },
64+
5965 // These options are used by the `jestrunner.debug` command.
6066 // They are not used by the `jestrunner.run` command.
6167 // After clicking "debug" over a test, continually invoke the
You can’t perform that action at this time.
0 commit comments