From d4409b9f577f04ec14bc820ea994638fd4a79687 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 5 Jul 2021 12:26:00 +0200 Subject: Moved some dependencies to workspaces & fixed client eslint config --- packages/client/.eslintrc.js | 2 +- packages/client/package.json | 3 +++ packages/server/package.json | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js index a7f7285..89ac051 100644 --- a/packages/client/.eslintrc.js +++ b/packages/client/.eslintrc.js @@ -10,7 +10,7 @@ module.exports = { parserOptions: { parser: "babel-eslint" }, - ignorePatterns: [ "/src/util/*" ], + ignorePatterns: [ "/src/lib/*" ], rules: { "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", diff --git a/packages/client/package.json b/packages/client/package.json index b285bf7..11df741 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -27,6 +27,9 @@ "@vue/compiler-sfc": "^3.0.0", "@vue/eslint-config-standard": "^5.1.2", "babel-eslint": "^10.1.0", + "eslint-plugin-import": "^2.23.4", + "eslint-plugin-promise": "^5.1.0", + "eslint-plugin-standard": "^5.0.0", "eslint-plugin-vue": "^7.0.0", "sass": "^1.26.5", "sass-loader": "^8.0.2" diff --git a/packages/server/package.json b/packages/server/package.json index 1a9f352..568f395 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -25,6 +25,8 @@ "@types/whatwg-url": "^8.2.0", "@typescript-eslint/eslint-plugin": "^4.26.0", "@typescript-eslint/parser": "^4.26.0", + "eslint": "^7.30.0", + "eslint-config-standard": "^16.0.3", "eslint-plugin-node": "^11.1.0", "typescript": "^4.3.2" } -- cgit v1.2.3-18-g5258