Skip to content

Commit

Permalink
bump @github/markdownlint-github from 0.3.0 to 0.6.0 (#3828)
Browse files Browse the repository at this point in the history
* 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] <[email protected]>

* 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] <[email protected]>

* chore(lint): autofix markdown linter style

* chore(lint): restore prettier format, add ignore to markdownlint

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Black <[email protected]>
  • Loading branch information
dependabot[bot] and joshblack authored Oct 16, 2023
1 parent 34587e1 commit 6a08271
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 31 deletions.
5 changes: 4 additions & 1 deletion .markdownlint-cli2.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
32 changes: 16 additions & 16 deletions contributor-docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## 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)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
Expand Down
16 changes: 8 additions & 8 deletions contributor-docs/versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## 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)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 6a08271

Please sign in to comment.