代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/Material-UI 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
const straightQuotes = require('./packages/markdownlint-rule-mui/straight-quotes');
const gitDiff = require('./packages/markdownlint-rule-mui/git-diff');
const tableAlignment = require('./packages/markdownlint-rule-mui/table-alignment');
const terminalLanguage = require('./packages/markdownlint-rule-mui/terminal-language');
// https://github.com/DavidAnson/markdownlint#rules--aliases
module.exports = {
config: {
default: true,
MD004: false, // MD004/ul-style. Buggy
MD009: {
// MD009/no-trailing-spaces
br_spaces: 0,
strict: true,
list_item_empty_lines: false,
},
MD013: false, // MD013/line-length. Already handled by Prettier.
MD014: false, // MD014/commands-show-output. It's OK.
MD024: { siblings_only: true }, // MD024/no-duplicate-heading/no-duplicate-header
MD025: {
// Heading level
level: 1,
// RegExp for matching title in front matter
front_matter_title: '',
},
MD033: false, // MD033/no-inline-html. We use it from time to time, it's fine.
MD034: false, // MD034/no-bare-urls. Not a concern for us, our Markdown interpreter supports it.
MD028: false, // MD028/no-blanks-blockquote prevent double blockquote
MD029: false, // MD029/ol-prefix. Buggy
MD031: false, // MD031/blanks-around-fences Some code blocks inside li
MD036: false, // MD036/no-emphasis-as-heading/no-emphasis-as-header. It's OK.
MD051: false, // MD051/link-fragments. Many false positives in the changelog.
MD052: false, // MD052/reference-links-images. Many false positives in the changelog.
straightQuotes: true,
gitDiff: true,
tableAlignment: true,
terminalLanguage: true,
},
customRules: [straightQuotes, gitDiff, tableAlignment, terminalLanguage],
ignores: [
'CHANGELOG.old.md',
'**/node_modules/**',
'**/*-zh.md',
'**/*-pt.md',
'**/build/**',
'.github/PULL_REQUEST_TEMPLATE.md',
],
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。