diff options
Diffstat (limited to 'packages/server')
-rw-r--r-- | packages/server/.eslintrc.json | 17 | ||||
-rw-r--r-- | packages/server/package.json | 6 |
2 files changed, 23 insertions, 0 deletions
diff --git a/packages/server/.eslintrc.json b/packages/server/.eslintrc.json new file mode 100644 index 0000000..6d17384 --- /dev/null +++ b/packages/server/.eslintrc.json @@ -0,0 +1,17 @@ +{ + "env": { + "commonjs": true, + "es2021": true, + "node": true + }, + "extends": [ + "standard", + "plugin:@typescript-eslint/recommended", + "base" + ], + "parserOptions": { + "ecmaVersion": 12, + "parser": "@typescript-eslint/parser" + }, + "plugins": [ "@typescript-eslint" ] +}
\ No newline at end of file diff --git a/packages/server/package.json b/packages/server/package.json index f5ff6e1..06ce863 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -24,6 +24,12 @@ "@types/whatwg-url": "^8.2.0", "@typescript-eslint/eslint-plugin": "^4.26.0", "@typescript-eslint/parser": "^4.26.0", + "eslint": "^7.31.0", + "eslint-config-base": " ^1.0.0", + "eslint-config-standard": "^16.0.3", + "eslint-plugin-import": "^2.23.4", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^5.1.0", "nodemon": "^2.0.12", "shared_types": "^1.0.0", "ts-node": "^10.1.0", |