Add eslint and prettier to frontend

And format files
This commit is contained in:
2023-09-01 01:05:06 -04:00
parent 1d6f98c6bb
commit ac12ca0fd9
8 changed files with 59 additions and 15 deletions

17
frontend/.eslintrc.json Normal file
View File

@@ -0,0 +1,17 @@
{
"extends": ["standard-with-typescript", "plugin:prettier/recommended"],
"plugins": ["prettier"],
"env": {
"browser": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"semi": "off",
"no-extra-semi": "error",
"@typescript-eslint/semi": "off"
}
}