mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 20:32:42 +02:00
chore(v2): upgrade devDependencies (#2538)
* chore(v2): upgrade devDependencies * chore(v2): upgrade devDependencies * chore: prettier
This commit is contained in:
parent
ea8c916528
commit
b07507c9cc
148 changed files with 2385 additions and 1975 deletions
|
@ -12,7 +12,7 @@ const messages = stylelint.utils.ruleMessages(ruleName, {
|
|||
rejected: 'Missing copyright in the header comment',
|
||||
});
|
||||
|
||||
module.exports = stylelint.createPlugin(ruleName, actual => {
|
||||
module.exports = stylelint.createPlugin(ruleName, (actual) => {
|
||||
return (root, result) => {
|
||||
const validOptions = stylelint.utils.validateOptions(result, ruleName, {
|
||||
actual,
|
||||
|
@ -22,7 +22,7 @@ module.exports = stylelint.createPlugin(ruleName, actual => {
|
|||
return;
|
||||
}
|
||||
|
||||
root.walkComments(comment => {
|
||||
root.walkComments((comment) => {
|
||||
// Ignore root comments with copyright text.
|
||||
if (
|
||||
comment === comment.parent.first &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue