Add eslint and prettier to frontend
And format files
This commit is contained in:
17
frontend/.eslintrc.json
Normal file
17
frontend/.eslintrc.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user