Skip to content

Commit c412f9a

Browse files
molantantross
authored andcommitted
Docs: Fix reference links and remove markdownlint-cli dependency (#1566)
Create a custom rule for `markdownlint` that validates that a link reference is valid and replace the calls to `markdownlint-cli` to the new script in all packages. `markdownlint-cli` does not have a way to add custom rules, you need to use the API to do so and thus `markdownlint-cli` is no longer needed as a dependency. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ref: #1436
1 parent 22009e5 commit c412f9a

File tree

81 files changed

+176
-223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+176
-223
lines changed

.markdownlintrc

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@
55
"MD026": {
66
"punctuation": ".,;:!"
77
},
8-
"MD029": false
8+
"MD029": false,
9+
"MD033": {
10+
"allowed_elements": ["br", "details", "summary"]
11+
}
912
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"listr": "^0.14.2",
1717
"listr-input": "^0.1.2",
1818
"loop": "^3.0.6",
19-
"markdownlint-cli": "^0.13.0",
19+
"markdownlint": "^0.11.0",
2020
"npm-run-all": "^4.1.5",
2121
"rimraf": "^2.6.2",
2222
"shelljs": "^0.8.3",
@@ -56,7 +56,7 @@
5656
"clean:packages": "rimraf \"packages/!(connector-edge|extension-vscode)/{dist,node_modules,npm-shrinkwrap.json,package-lock.json,yarn.lock}\"",
5757
"clean:root": "rimraf dist",
5858
"lint": "npm-run-all lint:*",
59-
"lint:md": "markdownlint *.md",
59+
"lint:md": "node scripts/lint-markdown",
6060
"lint:packages": "loop \"yarn lint\" --cwd packages --exclude configuration-development,configuration-progressive-web-apps,configuration-web-recommended",
6161
"lint:scripts": "eslint scripts .travis --cache --ext js --ext ts --report-unused-disable-directives",
6262
"pre-release": "npm run clean:packages && npm run build:scripts && npm run release -- --prerelease",

packages/connector-chrome/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"eslint-plugin-typescript": "0.14.0",
2727
"hint": "^4.1.0",
2828
"lodash": "^4.17.11",
29-
"markdownlint-cli": "^0.13.0",
3029
"npm-run-all": "^4.1.5",
3130
"nyc": "^13.1.0",
3231
"rimraf": "^2.6.2",
@@ -74,7 +73,7 @@
7473
"clean": "rimraf dist",
7574
"lint": "npm-run-all lint:*",
7675
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
77-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
76+
"lint:md": "node ../../scripts/lint-markdown.js",
7877
"test": "npm run lint && npm run build && npm run test-only",
7978
"test-only": "nyc ava",
8079
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/connector-edge/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"eslint-plugin-markdown": "^1.0.0-beta.6",
1212
"eslint-plugin-typescript": "0.14.0",
1313
"hint": "^4.1.0",
14-
"markdownlint-cli": "^0.13.0",
1514
"npm-run-all": "^4.1.5",
1615
"rimraf": "^2.6.2",
1716
"typescript": "^3.1.6",
@@ -52,7 +51,7 @@
5251
"clean": "rimraf dist",
5352
"lint": "npm-run-all lint:*",
5453
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
55-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
54+
"lint:md": "node ../../scripts/lint-markdown.js",
5655
"preinstall": "node scripts/preinstall.js",
5756
"test": "npm run test-only",
5857
"test-only": "npm run build",

packages/connector-jsdom/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"eslint-plugin-typescript": "0.14.0",
2727
"hint": "^4.1.0",
2828
"lodash": "^4.17.11",
29-
"markdownlint-cli": "^0.13.0",
3029
"npm-run-all": "^4.1.5",
3130
"nyc": "^13.1.0",
3231
"rimraf": "^2.6.2",
@@ -74,7 +73,7 @@
7473
"clean": "rimraf dist",
7574
"lint": "npm-run-all lint:*",
7675
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
77-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
76+
"lint:md": "node ../../scripts/lint-markdown.js",
7877
"test": "npm run lint && npm run build && npm run test-only",
7978
"test-only": "nyc ava",
8079
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/connector-local/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"eslint-plugin-typescript": "0.14.0",
2424
"hint": "^4.1.0",
2525
"lodash": "^4.17.11",
26-
"markdownlint-cli": "^0.13.0",
2726
"mock-require": "^3.0.2",
2827
"npm-run-all": "^4.1.5",
2928
"nyc": "^13.1.0",
@@ -61,7 +60,7 @@
6160
"clean": "rimraf dist",
6261
"lint": "npm-run-all lint:*",
6362
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
64-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
63+
"lint:md": "node ../../scripts/lint-markdown.js",
6564
"test": "npm run lint && npm run build && npm run test-only",
6665
"test-only": "nyc ava",
6766
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/create-hint/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"handlebars": "^4.0.11",
2424
"hint": "^4.1.0",
2525
"inquirer": "^6.2.0",
26-
"markdownlint-cli": "^0.13.0",
2726
"mkdirp": "^0.5.1",
2827
"npm-link-check": "^3.0.0",
2928
"npm-run-all": "^4.1.5",
@@ -62,7 +61,7 @@
6261
"clean": "rimraf dist",
6362
"lint": "npm-run-all lint:*",
6463
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
65-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
64+
"lint:md": "node ../../scripts/lint-markdown.js",
6665
"test": "npm run lint && npm run build && npm run test-only",
6766
"test-only": "nyc ava",
6867
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/create-hint/src/shared-templates/package.hbs

+6-5
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
{{{dependencyVersion "cpx" "^1.5.0"}}},
1616
{{{dependencyVersion "eslint" "^5.0.1"}}},
1717
{{{dependencyVersion "eslint-plugin-markdown" "^1.0.0-beta.7"}}},
18-
{{{dependencyVersion "eslint-plugin-typescript" "^0.12.0"}}},
19-
{{{dependencyVersion "markdownlint-cli" "^0.10.0"}}},
18+
{{{dependencyVersion "eslint-plugin-typescript" "^0.12.0"}}},{{#unless official}}
19+
{{{dependencyVersion "markdownlint-cli" "^0.13.0"}}},{{/unless}}
2020
{{{dependencyVersion "npm-link-check" "^2.0.0"}}},
2121
{{{dependencyVersion "npm-run-all" "^4.1.2"}}},
2222
{{{dependencyVersion "nyc" "^12.0.2"}}},
@@ -73,9 +73,10 @@
7373
"build:ts": "tsc -b",
7474
"clean": "rimraf dist",
7575
"lint": "npm-run-all lint:*",{{#if official}}
76-
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",{{else}}
77-
"lint:js": "eslint . --cache --ext js --ext md --ext ts --report-unused-disable-directives",{{/if}}
78-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
76+
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
77+
"lint:md": "node ../../scripts/lint-markdown.js",{{else}}
78+
"lint:js": "eslint . --cache --ext js --ext md --ext ts --report-unused-disable-directives",
79+
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",{{/if}}
7980
"test": "npm run lint && npm run build && npm run test-only",
8081
"test-only": "nyc ava",
8182
"init": "npm install && npm run build",

packages/create-hintrc/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"handlebars": "^4.0.11",
2929
"hint": "^4.1.0",
3030
"inquirer": "^6.2.0",
31-
"markdownlint-cli": "^0.13.0",
3231
"mkdirp": "^0.5.1",
3332
"npm-link-check": "^3.0.0",
3433
"npm-run-all": "^4.1.5",
@@ -69,7 +68,7 @@
6968
"clean": "rimraf dist",
7069
"lint": "npm-run-all lint:*",
7170
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
72-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
71+
"lint:md": "node ../../scripts/lint-markdown.js",
7372
"test": "npm run lint && npm run build && npm run test-only",
7473
"test-only": "nyc ava",
7574
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/create-parser/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"handlebars": "^4.0.11",
2525
"hint": "^4.1.0",
2626
"inquirer": "^6.2.0",
27-
"markdownlint-cli": "^0.13.0",
2827
"mkdirp": "^0.5.1",
2928
"npm-link-check": "^3.0.0",
3029
"npm-run-all": "^4.1.5",
@@ -65,7 +64,7 @@
6564
"clean": "rimraf dist",
6665
"lint": "npm-run-all lint:*",
6766
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
68-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
67+
"lint:md": "node ../../scripts/lint-markdown.js",
6968
"test": "npm run lint && npm run build && npm run test-only",
7069
"test-only": "nyc ava",
7170
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/create-parser/src/shared-templates/package.hbs

+6-5
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
{{{dependencyVersion "eslint-plugin-typescript" "^0.12.0"}}},
1818
{{{dependencyVersion "eventemitter2" "^5.0.1"}}},
1919
{{{dependencyVersion "proxyquire" "2.0.0"}}},
20-
{{{dependencyVersion "sinon" "^6.0.1"}}},
21-
{{{dependencyVersion "markdownlint-cli" "^0.10.0"}}},
20+
{{{dependencyVersion "sinon" "^6.0.1"}}},{{#unless official}}
21+
{{{dependencyVersion "markdownlint-cli" "^0.13.0"}}},{{/unless}}
2222
{{{dependencyVersion "npm-link-check" "^2.0.0"}}},
2323
{{{dependencyVersion "npm-run-all" "^4.1.2"}}},
2424
{{{dependencyVersion "nyc" "^12.0.2"}}},
@@ -74,9 +74,10 @@
7474
"build:ts": "tsc -b",
7575
"clean": "rimraf dist",
7676
"lint": "npm-run-all lint:*",{{#if official}}
77-
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",{{else}}
78-
"lint:js": "eslint . --cache --ext js --ext md --ext ts --report-unused-disable-directives",{{/if}}
79-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
77+
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
78+
"lint:md": "node ../../scripts/lint-markdown.js",{{else}}
79+
"lint:js": "eslint . --cache --ext js --ext md --ext ts --report-unused-disable-directives",
80+
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",{{/if}}
8081
"test": "npm run lint && npm run build && nyc ava",{{#if official}}
8182
"test-only": "nyc ava",{{/if}}
8283
"init": "npm install && npm run build",

packages/extension-browser/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"html-minifier": "^3.5.21",
5050
"is-ci": "^1.2.1",
5151
"lodash": "^4.17.11",
52-
"markdownlint-cli": "^0.13.0",
5352
"mock-require": "^3.0.2",
5453
"npm-run-all": "^4.1.5",
5554
"nyc": "^13.1.0",
@@ -95,7 +94,7 @@
9594
"clean": "rimraf dist",
9695
"lint": "npm-run-all lint:*",
9796
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
98-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
97+
"lint:md": "node ../../scripts/lint-markdown.js",
9998
"test": "npm run lint && npm run build && npm run test-only",
10099
"test-only": "nyc ava",
101100
"watch": "npm run build && npm-run-all --parallel -c watch:*",

packages/extension-vscode/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"eslint-plugin-markdown": "^1.0.0-rc.0",
3131
"eslint-plugin-typescript": "0.14.0",
3232
"hint": "^4.1.0",
33-
"markdownlint-cli": "^0.13.0",
3433
"npm-link-check": "^3.0.0",
3534
"npm-run-all": "^4.1.5",
3635
"nyc": "^13.1.0",
@@ -65,7 +64,7 @@
6564
"clean": "rimraf dist",
6665
"lint": "npm-run-all lint:*",
6766
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
68-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
67+
"lint:md": "node ../../scripts/lint-markdown.js",
6968
"postinstall": "node ./node_modules/vscode/bin/install",
7069
"test": "npm run lint && npm run build && npm run test-only",
7170
"test-only": "nyc ava",

packages/formatter-codeframe/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"eslint-plugin-markdown": "^1.0.0-rc.0",
2222
"eslint-plugin-typescript": "0.14.0",
2323
"hint": "^4.1.0",
24-
"markdownlint-cli": "^0.13.0",
2524
"npm-link-check": "^3.0.0",
2625
"npm-run-all": "^4.1.5",
2726
"nyc": "^13.1.0",
@@ -63,7 +62,7 @@
6362
"clean": "rimraf dist",
6463
"lint": "npm-run-all lint:*",
6564
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
66-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
65+
"lint:md": "node ../../scripts/lint-markdown.js",
6766
"test": "npm run lint && npm run build && npm run test-only",
6867
"test-only": "nyc ava",
6968
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/formatter-excel/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"eslint-plugin-markdown": "^1.0.0-rc.0",
2020
"eslint-plugin-typescript": "0.14.0",
2121
"hint": "^4.1.0",
22-
"markdownlint-cli": "^0.13.0",
2322
"npm-link-check": "^3.0.0",
2423
"npm-run-all": "^4.1.5",
2524
"nyc": "^13.1.0",
@@ -62,7 +61,7 @@
6261
"clean": "rimraf dist",
6362
"lint": "npm-run-all lint:*",
6463
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
65-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
64+
"lint:md": "node ../../scripts/lint-markdown.js",
6665
"test": "npm run lint && npm run build && npm run test-only",
6766
"test-only": "nyc ava",
6867
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/formatter-html/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"eslint-plugin-markdown": "^1.0.0-rc.0",
2626
"eslint-plugin-typescript": "0.14.0",
2727
"hint": "^4.1.0",
28-
"markdownlint-cli": "^0.13.0",
2928
"npm-link-check": "^3.0.0",
3029
"npm-run-all": "^4.1.5",
3130
"nyc": "^13.1.0",
@@ -67,7 +66,7 @@
6766
"clean": "rimraf dist",
6867
"lint": "npm-run-all lint:*",
6968
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
70-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
69+
"lint:md": "node ../../scripts/lint-markdown.js",
7170
"test": "npm run lint && npm run build && npm run test-only",
7271
"test-only": "nyc ava",
7372
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/formatter-json/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"eslint-plugin-markdown": "^1.0.0-rc.0",
1919
"eslint-plugin-typescript": "0.14.0",
2020
"hint": "^4.1.0",
21-
"markdownlint-cli": "^0.13.0",
2221
"npm-link-check": "^3.0.0",
2322
"npm-run-all": "^4.1.5",
2423
"nyc": "^13.1.0",
@@ -59,7 +58,7 @@
5958
"clean": "rimraf dist",
6059
"lint": "npm-run-all lint:*",
6160
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
62-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
61+
"lint:md": "node ../../scripts/lint-markdown.js",
6362
"test": "npm run lint && npm run build && npm run test-only",
6463
"test-only": "nyc ava",
6564
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/formatter-stylish/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"eslint-plugin-markdown": "^1.0.0-rc.0",
2424
"eslint-plugin-typescript": "0.14.0",
2525
"hint": "^4.1.0",
26-
"markdownlint-cli": "^0.13.0",
2726
"npm-link-check": "^3.0.0",
2827
"npm-run-all": "^4.1.5",
2928
"nyc": "^13.1.0",
@@ -64,7 +63,7 @@
6463
"clean": "rimraf dist",
6564
"lint": "npm-run-all lint:*",
6665
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
67-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
66+
"lint:md": "node ../../scripts/lint-markdown.js",
6867
"test": "npm run lint && npm run build && npm run test-only",
6968
"test-only": "nyc ava",
7069
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/formatter-summary/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"eslint-plugin-markdown": "^1.0.0-rc.0",
2323
"eslint-plugin-typescript": "0.14.0",
2424
"hint": "^4.1.0",
25-
"markdownlint-cli": "^0.13.0",
2625
"npm-link-check": "^3.0.0",
2726
"npm-run-all": "^4.1.5",
2827
"nyc": "^13.1.0",
@@ -63,7 +62,7 @@
6362
"clean": "rimraf dist",
6463
"lint": "npm-run-all lint:*",
6564
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
66-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
65+
"lint:md": "node ../../scripts/lint-markdown.js",
6766
"test": "npm run lint && npm run build && npm run test-only",
6867
"test-only": "nyc ava",
6968
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/hint-amp-validator/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"eslint-plugin-markdown": "^1.0.0-rc.0",
2121
"eslint-plugin-typescript": "0.14.0",
2222
"hint": "^4.1.0",
23-
"markdownlint-cli": "^0.13.0",
2423
"npm-link-check": "^3.0.0",
2524
"npm-run-all": "^4.1.5",
2625
"nyc": "^13.1.0",
@@ -59,7 +58,7 @@
5958
"clean": "rimraf dist",
6059
"lint": "npm-run-all lint:*",
6160
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
62-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
61+
"lint:md": "node ../../scripts/lint-markdown.js",
6362
"test": "npm run lint && npm run build && npm run test-only",
6463
"test-only": "nyc ava",
6564
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/hint-apple-touch-icons/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"eslint-plugin-markdown": "^1.0.0-rc.0",
2121
"eslint-plugin-typescript": "0.14.0",
2222
"hint": "^4.1.0",
23-
"markdownlint-cli": "^0.13.0",
2423
"npm-link-check": "^3.0.0",
2524
"npm-run-all": "^4.1.5",
2625
"nyc": "^13.1.0",
@@ -60,7 +59,7 @@
6059
"clean": "rimraf dist",
6160
"lint": "npm-run-all lint:*",
6261
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
63-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
62+
"lint:md": "node ../../scripts/lint-markdown.js",
6463
"test": "npm run lint && npm run build && npm run test-only",
6564
"test-only": "nyc ava",
6665
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

packages/hint-axe/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"eslint-plugin-markdown": "^1.0.0-rc.0",
2020
"eslint-plugin-typescript": "0.14.0",
2121
"hint": "^4.1.0",
22-
"markdownlint-cli": "^0.13.0",
2322
"npm-link-check": "^3.0.0",
2423
"npm-run-all": "^4.1.5",
2524
"nyc": "^13.1.0",
@@ -59,7 +58,7 @@
5958
"clean": "rimraf dist",
6059
"lint": "npm-run-all lint:*",
6160
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives",
62-
"lint:md": "markdownlint --ignore CHANGELOG.md *.md",
61+
"lint:md": "node ../../scripts/lint-markdown.js",
6362
"test": "npm run lint && npm run build && npm run test-only",
6463
"test-only": "nyc ava",
6564
"test-release": "npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only",

0 commit comments

Comments
 (0)