From e8392e65591b99f52c89cbec4554c87b19bde335 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 25 Jul 2021 20:54:38 +0200 Subject: Organized Eslint stuff --- packages/server/.eslintrc.json | 17 +++++++++++++++++ packages/server/package.json | 6 ++++++ 2 files changed, 23 insertions(+) create mode 100644 packages/server/.eslintrc.json (limited to 'packages/server') 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", -- cgit v1.2.3-18-g5258