add eslint & prettier

This commit is contained in:
Ryan Cao 2022-05-21 18:32:55 +08:00
parent 7950e23236
commit 0f15e2fb2c
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F
6 changed files with 805 additions and 13 deletions

7
.prettierrc Normal file
View file

@ -0,0 +1,7 @@
{
"singleQuote": true,
"trailingComma": "es5",
"useTabs": false,
"tabWidth": 2,
"semi": true
}