style: 使用eslint、prettier

This commit is contained in:
zy7y
2022-09-14 18:03:28 +08:00
parent d06ac9e983
commit 0ea5217a9f
28 changed files with 2610 additions and 332 deletions

9
frontend/.prettierrc Normal file
View File

@@ -0,0 +1,9 @@
{
"useTabs": false,
"tabWidth": 2,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"semi": false
}