Skip to content

Commit

Permalink
refactor: refactor code project folder & refactor the website.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 29, 2023
1 parent 14f0502 commit 7d3d35f
Show file tree
Hide file tree
Showing 27 changed files with 502 additions and 460 deletions.
5 changes: 5 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
}
12 changes: 12 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
**/*.md
**/*.svg
**/*.ejs
**/*.yml
package.json
node_modules
dist
build
lib
cjs
esm
test
27 changes: 27 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120,
"overrides": [
{
"files": ".prettierrc",
"options": { "parser": "json" }
},
{
"files": "*.{js,jsx}",
"options": { "parser": "babel" }
},
{
"files": "*.{ts,tsx}",
"options": { "parser": "babel-ts" }
},
{
"files": "*.{ts,tsx}",
"options": { "parser": "typescript" }
},
{
"files": "*.{less,css}",
"options": { "parser": "css" }
}
]
}
182 changes: 0 additions & 182 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Loading

0 comments on commit 7d3d35f

Please sign in to comment.