Skip to content

Commit

Permalink
lint before commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MR-Addict committed May 11, 2023
1 parent d9a4cac commit 507eb8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint": "prettier --plugin-search-dir . --check .",
"format": "prettier --plugin-search-dir . --write ."
},
"precommit": "format",
"precommit": "lint",
"dependencies": {
"@docusaurus/core": "2.4.0",
"@docusaurus/preset-classic": "2.4.0",
Expand Down
6 changes: 3 additions & 3 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const sidebars = {
type: "doc",
label: "说明",
id: "intro"
}
,
...electronics]
},
...electronics
]
};

module.exports = sidebars;

0 comments on commit 507eb8e

Please sign in to comment.