eslint and prettierrc added

This commit is contained in:
Amaury 2021-06-25 16:21:57 +02:00
parent 01ca99c4e7
commit 22333bef51
2 changed files with 21 additions and 0 deletions

20
.eslintrc.json Normal file
View File

@ -0,0 +1,20 @@
{
"env": {
"node": true,
"commonjs": true,
"es2021": true
},
"extends": [
"plugin:prettier/recommended",
"plugin:mocha/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12
},
"plugins": [
"@typescript-eslint",
"mocha"
],
"rules": {}
}

1
.prettierrc.json Normal file
View File

@ -0,0 +1 @@
{}