Skip to content

Commit

Permalink
chore: add prettier command
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan committed Jan 24, 2022
1 parent 12e1698 commit 8eef96a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.yarn/sdks/
.yarn/cache/
.yarn/unplugged/
dist/
node_modules/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build": "yarn lerna run build",
"start": "koishi start koishi.config.js",
"start:dev": "koishi start koishi.config.js",
"format": "prettier --write '**/*.{js,json,md,yml}'",
"test": "yarn lerna run test"
},
"workspaces": [
Expand All @@ -28,7 +29,6 @@
"singleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"endOfLine": "lf",
"quoteProps": "consistent",
Expand Down

0 comments on commit 8eef96a

Please sign in to comment.