diff --git a/.github/scripts/.lintstagedrc.js b/.github/scripts/lint-staged.config.mjs similarity index 50% rename from .github/scripts/.lintstagedrc.js rename to .github/scripts/lint-staged.config.mjs index 37efde5b3f4..03d95215055 100644 --- a/.github/scripts/.lintstagedrc.js +++ b/.github/scripts/lint-staged.config.mjs @@ -1,6 +1,6 @@ -const baseConfig = require("../../.lintstagedrc.js"); +import baseConfig from "../../lint-staged.config.mjs"; -module.exports = { +export default { ...baseConfig, "*.{m,c,}js": ["eslint --fix", "prettier --write"], }; diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc new file mode 100644 index 00000000000..8329eabcbed --- /dev/null +++ b/.markdownlint-cli2.jsonc @@ -0,0 +1,17 @@ +{ + "$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/main/schema/markdownlint-cli2-config-schema.json", + "config": { + "first-line-heading": false, + "no-inline-html": false, + "line-length": false, + "code-block-style": { "style": "fenced" }, + "code-fence-style": { "style": "backtick" }, + "heading-style": { "style": "atx" }, + "no-duplicate-heading": { "siblings_only": true }, + "emphasis-style": { "style": "asterisk" }, + "strong-style": { "style": "asterisk" }, + "ul-style": { "style": "dash" }, + }, + "gitignore": true, + "ignores": ["**/THIRD-PARTY-LICENSES.md"], +} diff --git a/.markdownlintignore b/.markdownlintignore deleted file mode 100644 index 3b1700c637a..00000000000 --- a/.markdownlintignore +++ /dev/null @@ -1,2 +0,0 @@ -# prevents modifying licenses -THIRD-PARTY-LICENSES.md diff --git a/.markdownlintrc b/.markdownlintrc deleted file mode 100644 index a0cc6bb623d..00000000000 --- a/.markdownlintrc +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json", - "first-line-heading": false, - "no-inline-html": false, - "line-length": false, - "code-block-style": { "style": "fenced" }, - "code-fence-style": { "style": "backtick" }, - "heading-style": { "style": "atx" }, - "no-duplicate-heading": { "siblings_only": true }, - "emphasis-style": { "style": "asterisk" }, - "strong-style": { "style": "asterisk" }, - "ul-style": { "style": "dash" } -} diff --git a/.lintstagedrc.js b/lint-staged.config.mjs similarity index 52% rename from .lintstagedrc.js rename to lint-staged.config.mjs index 85e12b8d23f..38f5803c579 100644 --- a/.lintstagedrc.js +++ b/lint-staged.config.mjs @@ -1,5 +1,5 @@ -module.exports = { +export default { "*.{json,html,yml}": ["prettier --write"], "*.{s,}css": ["prettier --write"], - "*.md": ["prettier --write", "markdownlint --fix"], + "*.md": ["prettier --write", "markdownlint-cli2 --fix"], }; diff --git a/package-lock.json b/package-lock.json index fe70ba1b11e..cd98ab2a745 100644 --- a/package-lock.json +++ b/package-lock.json @@ -79,7 +79,7 @@ "jest-axe": "10.0.0", "lerna": "8.2.1", "lint-staged": "15.5.0", - "markdownlint-cli": "0.44.0", + "markdownlint-cli2": "0.17.2", "postcss": "8.5.3", "prettier": "3.5.3", "puppeteer": "23.4.1", @@ -13018,16 +13018,6 @@ "node": ">=6" } }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -19749,16 +19739,6 @@ ], "license": "MIT" }, - "node_modules/jsonpointer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", - "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", @@ -23133,129 +23113,88 @@ "url": "https://github.com/sponsors/DavidAnson" } }, - "node_modules/markdownlint-cli": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.44.0.tgz", - "integrity": "sha512-ZJTAONlvF9NkrIBltCdW15DxN9UTbPiKMEqAh2EU2gwIFlrCMavyCEPPO121cqfYOrLUJWW8/XKWongstmmTeQ==", + "node_modules/markdownlint-cli2": { + "version": "0.17.2", + "resolved": "https://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.17.2.tgz", + "integrity": "sha512-XH06ZOi8wCrtOSSj3p8y3yJzwgzYOSa7lglNyS3fP05JPRzRGyjauBb5UvlLUSCGysMmULS1moxdRHHudV+g/Q==", "dev": true, "license": "MIT", "dependencies": { - "commander": "~13.1.0", - "glob": "~10.4.5", - "ignore": "~7.0.3", - "js-yaml": "~4.1.0", - "jsonc-parser": "~3.3.1", - "jsonpointer": "~5.0.1", - "markdownlint": "~0.37.4", - "minimatch": "~9.0.5", - "run-con": "~1.3.2", - "smol-toml": "~1.3.1" + "globby": "14.0.2", + "js-yaml": "4.1.0", + "jsonc-parser": "3.3.1", + "markdownlint": "0.37.4", + "markdownlint-cli2-formatter-default": "0.0.5", + "micromatch": "4.0.8" }, "bin": { - "markdownlint": "markdownlint.js" + "markdownlint-cli2": "markdownlint-cli2-bin.mjs" }, "engines": { "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/DavidAnson" } }, - "node_modules/markdownlint-cli/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/markdownlint-cli2-formatter-default": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/markdownlint-cli2-formatter-default/-/markdownlint-cli2-formatter-default-0.0.5.tgz", + "integrity": "sha512-4XKTwQ5m1+Txo2kuQ3Jgpo/KmnG+X90dWt4acufg6HVGadTUG5hzHF/wssp9b5MBYOMCnZ9RMPaU//uHsszF8Q==", "dev": true, "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" + "funding": { + "url": "https://github.com/sponsors/DavidAnson" + }, + "peerDependencies": { + "markdownlint-cli2": ">=0.0.4" } }, - "node_modules/markdownlint-cli/node_modules/commander": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz", - "integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==", + "node_modules/markdownlint-cli2/node_modules/globby": { + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", + "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", "dev": true, "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/markdownlint-cli/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", - "dev": true, - "license": "ISC", "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^3.1.2", - "minimatch": "^9.0.4", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^1.11.1" - }, - "bin": { - "glob": "dist/esm/bin.mjs" + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/markdownlint-cli/node_modules/ignore": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.3.tgz", - "integrity": "sha512-bAH5jbK/F3T3Jls4I0SO1hmPR0dKU0a7+SY6n1yzRtG54FLO8d6w/nxLFX2Nb7dBu6cCWXPaAME6cYqFUMmuCA==", - "dev": true, - "license": "MIT", "engines": { - "node": ">= 4" - } - }, - "node_modules/markdownlint-cli/node_modules/jackspeak": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", - "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "@isaacs/cliui": "^8.0.2" + "node": ">=18" }, "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/markdownlint-cli/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "node_modules/markdownlint-cli2/node_modules/path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, + "license": "MIT", "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/markdownlint-cli/node_modules/path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "node_modules/markdownlint-cli2/node_modules/unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" - }, + "license": "MIT", "engines": { - "node": ">=16 || 14 >=14.18" + "node": ">=18" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/math-intrinsics": { @@ -28875,32 +28814,6 @@ "node": ">=0.12.0" } }, - "node_modules/run-con": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/run-con/-/run-con-1.3.2.tgz", - "integrity": "sha512-CcfE+mYiTcKEzg0IqS08+efdnH0oJ3zV0wSUFBNrMHMuxCtXvBCLzCJHatwuXDcu/RlhjTziTo/a1ruQik6/Yg==", - "dev": true, - "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~4.1.0", - "minimist": "^1.2.8", - "strip-json-comments": "~3.1.1" - }, - "bin": { - "run-con": "cli.js" - } - }, - "node_modules/run-con/node_modules/ini": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz", - "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -29986,19 +29899,6 @@ "npm": ">= 3.0.0" } }, - "node_modules/smol-toml": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.3.1.tgz", - "integrity": "sha512-tEYNll18pPKHroYSmLLrksq233j021G0giwW7P3D24jC54pQ5W5BXMsQ/Mvw1OJCmEYDgY+lrzT+3nNUtoNfXQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 18" - }, - "funding": { - "url": "https://github.com/sponsors/cyyynthia" - } - }, "node_modules/socket.io": { "version": "4.8.1", "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.1.tgz", diff --git a/package.json b/package.json index a7caa4d1837..c5323827f07 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build": "turbo run build --log-order=stream", "clean": "turbo run clean --log-order=stream && git clean -fd && rimraf node_modules .turbo", "lint": "concurrently \"npm:lint:*\" \"turbo run lint --log-order=stream\"", - "lint:md": "prettier --write \"*.md\" >/dev/null && markdownlint --fix \"*.md\"", + "lint:md": "prettier --write \"*.md\" >/dev/null && markdownlint-cli2 --fix \"*.md\"", "lint:yml": "prettier --write \".github/**/*.yml\" >/dev/null", "lint:js": "eslint -c .github/scripts/eslint.config.cjs --fix .github/scripts/ && prettier --write \".github/**/*.{c,m,}js\" >/dev/null", "lint:json": "prettier --write \"{.vscode,}/*.json\" >/dev/null", @@ -98,7 +98,7 @@ "jest-axe": "10.0.0", "lerna": "8.2.1", "lint-staged": "15.5.0", - "markdownlint-cli": "0.44.0", + "markdownlint-cli2": "0.17.2", "postcss": "8.5.3", "prettier": "3.5.3", "puppeteer": "23.4.1", diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index 13f4900e2cb..03124f84cab 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -23,7 +23,7 @@ "compile": "npm run tsc", "lint": "concurrently npm:lint:*", "lint:json": "prettier --write \"**/*.json\" >/dev/null", - "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint \"**/*.md\" --fix --dot --ignore-path ../../.gitignore", + "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"", "tsc": "tsc", "util:update-3rd-party-licenses": "tsx ../../support/createThirdPartyLicenses.ts" }, diff --git a/packages/calcite-components/.gitignore b/packages/calcite-components/.gitignore index 4b77e73a55b..099e751563a 100644 --- a/packages/calcite-components/.gitignore +++ b/packages/calcite-components/.gitignore @@ -2,6 +2,6 @@ __docs-temp__/* docs/ hydrate/ *.js -!/.lintstagedrc.js +!/lint-staged.config.mjs src/components/icon/assets node_modules diff --git a/packages/calcite-components/.lintstagedrc.js b/packages/calcite-components/lint-staged.config.mjs similarity index 73% rename from packages/calcite-components/.lintstagedrc.js rename to packages/calcite-components/lint-staged.config.mjs index 9ac1b859e78..3b9ae593fe8 100644 --- a/packages/calcite-components/.lintstagedrc.js +++ b/packages/calcite-components/lint-staged.config.mjs @@ -1,4 +1,4 @@ -import baseConfig from "../../.lintstagedrc.js"; +import baseConfig from "../../lint-staged.config.mjs"; export default { ...baseConfig, diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index ad244507534..746d2e1a361 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -46,7 +46,7 @@ "lint": "concurrently npm:lint:*", "lint:html": "prettier --write \"**/*.html\" >/dev/null", "lint:json": "prettier --write \"**/*.json\" >/dev/null", - "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint \"**/*.md\" --fix --dot --ignore-path .gitignore", + "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"", "lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\" >/dev/null", "lint:ts": "eslint --fix . && prettier --write \"**/*.{ts,tsx,cjs,mjs}\" >/dev/null", "prepublish": "./support/cleanupDistFiles.sh", diff --git a/packages/calcite-components/tsconfig-eslint.json b/packages/calcite-components/tsconfig-eslint.json index 5258eb17cc4..386c6023003 100755 --- a/packages/calcite-components/tsconfig-eslint.json +++ b/packages/calcite-components/tsconfig-eslint.json @@ -1,5 +1,5 @@ { "extends": "./tsconfig-base", - "include": [".storybook/*", "**/*", "**/*.config.js", "eslint.config.mjs", "**/.*.cjs"], + "include": ["**/*", "**/*.config.mjs", "**/.*.cjs", ".storybook/*"], "exclude": ["**/[!_]*assets*/**", "dist", "hydrate", "docs"] } diff --git a/packages/calcite-design-tokens/.lintstagedrc.js b/packages/calcite-design-tokens/lint-staged.config.mjs similarity index 64% rename from packages/calcite-design-tokens/.lintstagedrc.js rename to packages/calcite-design-tokens/lint-staged.config.mjs index 8b2d6d6906f..e47ae18d93f 100644 --- a/packages/calcite-design-tokens/.lintstagedrc.js +++ b/packages/calcite-design-tokens/lint-staged.config.mjs @@ -1,4 +1,4 @@ -import baseConfig from "../../.lintstagedrc.js"; +import baseConfig from "../../lint-staged.config.mjs"; export default { ...baseConfig, diff --git a/packages/calcite-design-tokens/package.json b/packages/calcite-design-tokens/package.json index afe2d4e6617..bec1bfc5a77 100644 --- a/packages/calcite-design-tokens/package.json +++ b/packages/calcite-design-tokens/package.json @@ -34,7 +34,7 @@ "build:watch:test": "MODE='test' npm run build:watch", "clean": "rimraf node_modules dist .turbo", "lint:json": "prettier --write \"**/*.json\" >/dev/null", - "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint \"**/*.md\" --fix --dot --ignore-path ../../.gitignore", + "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"", "lint:ts": "eslint --fix . && prettier --write \"**/*.{ts,tsx,cjs,mjs}\" >/dev/null", "lint": "concurrently npm:lint:*", "test": "vitest", diff --git a/packages/calcite-design-tokens/tsconfig-eslint.json b/packages/calcite-design-tokens/tsconfig-eslint.json index acd50dd751a..c0420783718 100644 --- a/packages/calcite-design-tokens/tsconfig-eslint.json +++ b/packages/calcite-design-tokens/tsconfig-eslint.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig-base.json", - "include": ["./**/*"] + "include": ["**/*", "*.config.mjs"] } diff --git a/packages/calcite-design-tokens/tsconfig.json b/packages/calcite-design-tokens/tsconfig.json index 32f3066fdc1..cbad790ba5a 100755 --- a/packages/calcite-design-tokens/tsconfig.json +++ b/packages/calcite-design-tokens/tsconfig.json @@ -7,5 +7,5 @@ ] }, "extends": "./tsconfig-base", - "include": ["support", "src"] + "include": ["src"] } diff --git a/packages/eslint-plugin-calcite-components/package.json b/packages/eslint-plugin-calcite-components/package.json index f55a12fef10..06e71cba583 100644 --- a/packages/eslint-plugin-calcite-components/package.json +++ b/packages/eslint-plugin-calcite-components/package.json @@ -17,7 +17,7 @@ "build": "vite build", "lint": "concurrently npm:lint:*", "lint:json": "prettier --write \"**/*.json\" >/dev/null", - "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint \"**/*.md\" --fix --dot --ignore-path .gitignore --ignore-path ../../.gitignore", + "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint-cli2 \"**/*.md\" --fix --config \"../../.markdownlint-cli2.jsonc\"", "test": "vitest", "clean": "rimraf node_modules dist .turbo", "util:update-3rd-party-licenses": "tsx ../../support/createThirdPartyLicenses.ts" diff --git a/support/syncLinkedPackageVersions.ts b/support/syncLinkedPackageVersions.ts index db9870dbce6..176c163cb64 100644 --- a/support/syncLinkedPackageVersions.ts +++ b/support/syncLinkedPackageVersions.ts @@ -84,7 +84,7 @@ console.log("Deployable packages:", changedPackagesData); - await exec("markdownlint packages/{*}/CHANGELOG.md --fix"); + await exec("markdownlint-cli2 packages/{*}/CHANGELOG.md --fix"); // add/commit changed files await exec(