Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Prettier on CSS code fences, part 13 #20651

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

OnkarRuikar
Copy link
Contributor

Adding to #20633

The PR focuses only on CSS code fences.
Pulling only simple changes.

Idea is to gradually prettify all the CSS code fences before the full automation.

Adding to mdn#20633

The PR focuses only on CSS code fences.
Pulling only simple changes.

Idea is to gradually prettify all the CSS code fences before the full automation.
@OnkarRuikar OnkarRuikar requested review from a team as code owners September 13, 2022 09:21
@OnkarRuikar OnkarRuikar requested review from schalkneethling, estelle and bsmth and removed request for a team September 13, 2022 09:21
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs Content:HTML Hypertext Markup Language docs Content:Learn Learning area docs labels Sep 13, 2022
@github-actions
Copy link
Contributor

Preview URLs

Flaws

Note! 54 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/HTML/Block-level_elements
Title: Block-level elements
Flaw count: 6

  • macros:
    • /en-US/docs/Web/HTML/Element/h1 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /en-US/docs/Web/HTML/Element/h2 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /en-US/docs/Web/HTML/Element/h3 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /en-US/docs/Web/HTML/Element/h4 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /en-US/docs/Web/HTML/Element/h5 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements
    • and 1 more flaws omitted

URL: /en-US/docs/Web/HTML/Attributes/multiple
Title: HTML attribute: multiple
Flaw count: 2

  • broken_links:
    • Can't resolve /en-US/docs/Web/HTML/Attributes/list
    • Can't resolve /en-US/docs/Web/API/XMLHttpRequest/multipart

URL: /en-US/docs/Web/HTML/Attributes/pattern
Title: HTML attribute: pattern
Flaw count: 1

  • broken_links:
    • Link points to the page it's already on

URL: /en-US/docs/Web/HTML/Element/a
Title: <a>: The Anchor element
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/HTML/Element/caption
Title: <caption>: The Table Caption element
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/HTML/Element/input/date
Title: <input type="date">
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/HTML/Element/input/datetime-local
Title: <input type="datetime-local">
Flaw count: 2

  • macros:
    • wrong xref macro used (consider changing which macro you use)
  • broken_links:
    • Link points to the page it's already on

URL: /en-US/docs/Web/HTML/Element/input/button
Title: <input type="button">
Flaw count: 1

  • macros:
    • wrong xref macro used (consider changing which macro you use)

URL: /en-US/docs/Web/CSS/repeat
Title: repeat()
Flaw count: 5

  • macros:
    • /en-US/docs/Web/CSS/minmax() redirects to /en-US/docs/Web/CSS/minmax
    • /en-US/docs/Web/CSS/minmax() redirects to /en-US/docs/Web/CSS/minmax
    • /en-US/docs/Web/CSS/minmax() redirects to /en-US/docs/Web/CSS/minmax
    • /en-US/docs/Web/CSS/fit-content() redirects to /en-US/docs/Web/CSS/fit-content_function
  • bad_bcd_links:
    • no explanation!

URL: /en-US/docs/Web/CSS/sign
Title: sign()
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.types.sign

URL: /en-US/docs/Web/CSS/var
Title: var()
Flaw count: 1

  • bad_bcd_links:
    • no explanation!

URL: /en-US/docs/Web/CSS/ruby-position
Title: ruby-position
Flaw count: 1

  • macros:
    • /en-US/docs/Web/CSS/ruby-merge does not exist

@teoli2003 teoli2003 merged commit 78e760f into mdn:main Sep 13, 2022
@OnkarRuikar OnkarRuikar deleted the css-code-lint13 branch September 13, 2022 09:50
himanshugarg pushed a commit to himanshugarg/content that referenced this pull request Sep 27, 2022
Adding to mdn#20633

The PR focuses only on CSS code fences.
Pulling only simple changes.

Idea is to gradually prettify all the CSS code fences before the full automation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs Content:HTML Hypertext Markup Language docs Content:Learn Learning area docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants