Skip to content

Commit

Permalink
fix: 使用6.0模板发现的一些问题 (ant-design#10033)
Browse files Browse the repository at this point in the history
* chore: 没有必要的文件

* fix: can prettier pkg

* chore: 有格式化后自动排序
  • Loading branch information
txp1035 authored Jul 18, 2022
1 parent cf3bbcf commit c4009b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
**/*.svg
package.json
.umi
.umi-production
/dist
Expand All @@ -20,4 +19,4 @@ yarn-error.log
.history
CNAME
/build
/public
/public
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"private": true,
"description": "An out-of-box UI solution for enterprise applications",
"scripts": {
"postinstall": "max setup",
"analyze": "cross-env ANALYZE=1 max build",
"build": "max build",
"deploy": "npm run build && npm run gh-pages",
"dev": "npm run start:dev",
"gh-pages": "gh-pages -d dist",
"i18n-remove": "pro i18n-remove --locale=zh-CN --write",
"postinstall": "max setup",
"lint": "npm run lint:js && npm run lint:prettier && npm run tsc",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
Expand Down

0 comments on commit c4009b6

Please sign in to comment.