ESLint and prettier configs added

This commit is contained in:
Collin Duncan 2021-11-17 14:18:15 +01:00
parent ff67e738f5
commit eec0edb76b
No known key found for this signature in database
2 changed files with 20 additions and 0 deletions

11
.eslintrc.json Normal file
View file

@ -0,0 +1,11 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
]
}

9
.prettierrc Normal file
View file

@ -0,0 +1,9 @@
{
"$schema":"http://json.schemastore.org/prettierrc",
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true
}