Updated misc

This commit is contained in:
Matte 2021-06-08 12:01:32 +03:00
parent fcfc9169fd
commit acef9404b2
4 changed files with 36 additions and 1 deletions

13
.eslintrc Normal file
View File

@ -0,0 +1,13 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"rules": {}
}

3
.gitignore vendored
View File

@ -2,4 +2,5 @@ datastore/
node_modules/ node_modules/
npm-debug.log npm-debug.log
.vscode/ .vscode/
.env .env
build/

5
.prettierrc Normal file
View File

@ -0,0 +1,5 @@
{
"printWidth": 100,
"tabWidth": 4,
"semi": true
}

16
tsconfig.json Normal file
View File

@ -0,0 +1,16 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "commonjs",
"lib": ["esnext"],
"allowJs": true,
"outDir": "build",
"rootDir": "src",
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"skipLibCheck": true
},
"exclude": ["build", "node_modules", "datastore"]
}