From 6a0827182dd20429c42ea74a8ef5729719895ee1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 15:31:09 +0000 Subject: [PATCH] bump @github/markdownlint-github from 0.3.0 to 0.6.0 (#3828) * bump @github/markdownlint-github from 0.3.0 to 0.6.0 --- updated-dependencies: - dependency-name: "@github/markdownlint-github" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore: update lint ignore pattern * bump @github/markdownlint-github from 0.3.0 to 0.6.0 --- updated-dependencies: - dependency-name: "@github/markdownlint-github" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * chore(lint): autofix markdown linter style * chore(lint): restore prettier format, add ignore to markdownlint --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Black --- .markdownlint-cli2.cjs | 5 ++++- contributor-docs/testing.md | 32 ++++++++++++++++---------------- contributor-docs/versioning.md | 16 ++++++++-------- package-lock.json | 8 ++++---- package.json | 4 ++-- 5 files changed, 34 insertions(+), 31 deletions(-) diff --git a/.markdownlint-cli2.cjs b/.markdownlint-cli2.cjs index 0fe41357310..909cb8e5249 100644 --- a/.markdownlint-cli2.cjs +++ b/.markdownlint-cli2.cjs @@ -3,7 +3,10 @@ const githubMarkdownOpinions = require('@github/markdownlint-github') // Rules we want to turn on but currently have too many violations const rulesToEnforce = { 'fenced-code-language': false, - 'no-duplicate-header': false, // Fix https://github.com/primer/doctocat/issues/527, then set this rule to `siblings_only: true` + // Fix https://github.com/primer/doctocat/issues/527, then set this rule to `siblings_only: true` + 'no-duplicate-header': false, + // This currently conflicts with how prettier autoformats + 'ul-style': false, } // Rules we don't care to enforce (usually stylistic) const rulesToNotEnforce = { diff --git a/contributor-docs/testing.md b/contributor-docs/testing.md index 5f024f8fc77..18d81df80d0 100644 --- a/contributor-docs/testing.md +++ b/contributor-docs/testing.md @@ -5,22 +5,22 @@ ## Table of Contents -- [Strategy](#strategy) -- [Unit Tests](#unit-tests) - - [Overview](#overview) - - [Running Tests](#running-tests) -- [Visual Regression Tests](#visual-regression-tests) - - [Overview](#overview) - - [Prerequisites](#prerequisites) - - [Components](#components) - - [Visual Regression Testing](#visual-regression-testing) - - [Accessibility Verification Testing](#accessibility-verification-testing) -- [Interaction Tests](#interaction-tests) - - [As A Part Of Unit Tests](#as-a-part-of-unit-tests) - - [Storybook Interaction Tests](#storybook-interaction-tests) -- [Continuous Integration](#continuous-integration) -- [FAQ](#faq) - - [Why am I seeing `browserType.launch: Executable doesn't exist at ../path`?](#why-am-i-seeing-browsertypelaunch-executable-doesnt-exist-at-path) +* [Strategy](#strategy) +* [Unit Tests](#unit-tests) + * [Overview](#overview) + * [Running Tests](#running-tests) +* [Visual Regression Tests](#visual-regression-tests) + * [Overview](#overview) + * [Prerequisites](#prerequisites) + * [Components](#components) + * [Visual Regression Testing](#visual-regression-testing) + * [Accessibility Verification Testing](#accessibility-verification-testing) +* [Interaction Tests](#interaction-tests) + * [As A Part Of Unit Tests](#as-a-part-of-unit-tests) + * [Storybook Interaction Tests](#storybook-interaction-tests) +* [Continuous Integration](#continuous-integration) +* [FAQ](#faq) + * [Why am I seeing `browserType.launch: Executable doesn't exist at ../path`?](#why-am-i-seeing-browsertypelaunch-executable-doesnt-exist-at-path) diff --git a/contributor-docs/versioning.md b/contributor-docs/versioning.md index 61725b7f939..448f542d6f8 100644 --- a/contributor-docs/versioning.md +++ b/contributor-docs/versioning.md @@ -5,14 +5,14 @@ ## Table of Contents -- [Overview](#overview) -- [Changes](#changes) -- [Reference](#reference) - - [The type of a prop is broadened](#the-type-of-a-prop-is-broadened) - - [The type of a prop is narrowed](#the-type-of-a-prop-is-narrowed) - - [The `display` property used for the container of `children` is changed](#the-display-property-used-for-the-container-of-children-is-changed) - - [A component includes a landmark role](#a-component-includes-a-landmark-role) - - [A component no longer includes a landmark role](#a-component-no-longer-includes-a-landmark-role) +* [Overview](#overview) +* [Changes](#changes) +* [Reference](#reference) + * [The type of a prop is broadened](#the-type-of-a-prop-is-broadened) + * [The type of a prop is narrowed](#the-type-of-a-prop-is-narrowed) + * [The `display` property used for the container of `children` is changed](#the-display-property-used-for-the-container-of-children-is-changed) + * [A component includes a landmark role](#a-component-includes-a-landmark-role) + * [A component no longer includes a landmark role](#a-component-no-longer-includes-a-landmark-role) diff --git a/package-lock.json b/package-lock.json index 4eebdca64b0..8013fde48f8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "@babel/preset-typescript": "7.22.15", "@changesets/changelog-github": "0.4.8", "@changesets/cli": "2.26.2", - "@github/markdownlint-github": "^0.3.0", + "@github/markdownlint-github": "^0.6.0", "@github/prettier-config": "0.0.6", "@playwright/test": "1.37.0", "@prettier/sync": "0.3.0", @@ -4130,9 +4130,9 @@ "integrity": "sha512-/IHUYo1qEJVF9RXdf/Ay1KsJXoDTbHroVwCKhBHbfKTcvg1JgkyBvInxyERxaSAXsBdJXzEQbLB02UG17TMNww==" }, "node_modules/@github/markdownlint-github": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@github/markdownlint-github/-/markdownlint-github-0.3.0.tgz", - "integrity": "sha512-q35L9LA4trt/raFfOFt03UL2g1dsoimbdtIjspECvSx34KMS42FhKCGrBj0BazM5u4dbovHsAbtjzVQ7ZEWIEA==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@github/markdownlint-github/-/markdownlint-github-0.6.0.tgz", + "integrity": "sha512-THR2p9AExA1lxLoBIJnmFg8VGOCMDNcQDxA6O/JvSyL4ODqGrqozbMsH4xCE19+7Li+NeqwqJEdmmVas5LjT1A==", "dev": true, "dependencies": { "lodash": "^4.17.15" diff --git a/package.json b/package.json index 28c68314f8d..b7c9c6ee0fe 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "install:docs": "(cd docs && npm install --legacy-peer-deps)", "lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0", "lint:fix": "npm run lint -- --fix", - "lint:md": "markdownlint-cli2 \"**/*.{md,mdx}\" \"!.github\" \"!.changeset\" \"!node_modules\" \"!CHANGELOG.md\"", + "lint:md": "markdownlint-cli2 \"**/*.{md,mdx}\" \"!.github\" \"!.changeset\" \"!**/node_modules/**\" \"!CHANGELOG.md\"", "test": "jest", "test:storybook": "test-storybook", "test:update": "npm run test -- --updateSnapshot", @@ -138,7 +138,7 @@ "@babel/preset-typescript": "7.22.15", "@changesets/changelog-github": "0.4.8", "@changesets/cli": "2.26.2", - "@github/markdownlint-github": "^0.3.0", + "@github/markdownlint-github": "^0.6.0", "@github/prettier-config": "0.0.6", "@playwright/test": "1.37.0", "@prettier/sync": "0.3.0",