Skip to content

Commit

Permalink
style: prettier style format
Browse files Browse the repository at this point in the history
  • Loading branch information
HaydenOrz committed Aug 9, 2024
1 parent 9da4073 commit 9d7d385
Show file tree
Hide file tree
Showing 6 changed files with 4,587 additions and 3,269 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ npm-debug.log
debug.log
yarn-error.log
package-lock.json
lib/
lib/
CHANGELOG.md
15 changes: 6 additions & 9 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"singleQuote": true,
"trailingComma": "es5",
"semi": true,
"tabWidth": 4,
"printWidth": 80,
"overrides": [
{
"files": "**/.prettierrc",
"options": { "parser": "json" }
}
]
"singleQuote": true,
"useTabs": false,
"bracketSpacing": true,
"arrowParens": "always",
"trailingComma": "es5"
}

2 changes: 1 addition & 1 deletion CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

#### 其他

- 🛠 `commonFileEditDelegator` 已经重命名为 `commandDelegator`
- 🛠 `commonFileEditDelegator` 已经重命名为 `commandDelegator`

<br/>

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"watch": "rm -rf lib && tsc --watch",
"release": "npm run build && node ./scripts/release.js",
"check-types": "tsc --noEmit --skipLibCheck",
"format": "prettier --check './src/**/*.{js,jsx,tsx,ts,less}'",
"prettier-check": "prettier --write './src/**/*.{js,jsx,tsx,ts,less}'"
"format": "prettier --write .",
"prettier-check": "prettier --check ."
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
Expand Down
Loading

0 comments on commit 9d7d385

Please sign in to comment.