Skip to content

Commit

Permalink
Merge branch 'mdn:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
DumFun1 authored Jul 14, 2024
2 parents 3d62754 + b4470d4 commit 971a00c
Show file tree
Hide file tree
Showing 2,305 changed files with 32,981 additions and 19,021 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
# MathML
/files/en-us/web/mathml/ @mdn/content-mathml

# MDN Firefox Release Notes
/files/en-us/mozilla/firefox @mdn/core-yari-content

# ============================= CONTROL FILES ============================= #
# The CODEOWNERS file must end with these matches: Any pull request changing
# one or more of these files should be escalated to the owners specified here.
Expand Down
14 changes: 14 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,18 @@ export default {
`yarn content fix-redirects en-US`,
`yarn content validate-redirects en-us --strict`,
],
"!*.md": (filenames) => [
`prettier --ignore-unknown --write ${filenames.join(" ")}`,
],
"*.md": (filenames) => [
`markdownlint-cli2 --fix ${filenames.join(" ")}`,
`node scripts/front-matter_linter.js --fix true ${filenames.join(" ")}`,
`node scripts/update-moved-file-links.js --check`,
`prettier --write ${filenames.join(" ")}`,
],
"tests/**/*.*": (filenames) => [`yarn test:front-matter-linter`],
"*.{svg,png,jpeg,jpg,gif}": (filenames) => [
`yarn filecheck ${filenames.join(" ")}`,
],
"*": (filenames) => [`node scripts/log-url-issues.js`],
};
12 changes: 0 additions & 12 deletions .lintstagedrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.17
v18
101 changes: 58 additions & 43 deletions files/en-us/_redirects.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 971a00c

Please sign in to comment.