From 49c80c82d5bcbf92aa51ab84ee4a99b1af3b0694 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 25 Jul 2021 13:23:19 +0200 Subject: Moved eslint stuff to the workspace root --- packages/client/.eslintrc.js | 56 -------------------------------------------- packages/client/package.json | 5 ---- 2 files changed, 61 deletions(-) delete mode 100644 packages/client/.eslintrc.js (limited to 'packages/client') diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js deleted file mode 100644 index 595cce8..0000000 --- a/packages/client/.eslintrc.js +++ /dev/null @@ -1,56 +0,0 @@ -module.exports = { - root: true, - env: { - node: true - }, - extends: [ - "plugin:vue/vue3-strongly-recommended", - "@vue/standard", - "@vue/typescript" - ], - parserOptions: { - parser: "@typescript-eslint/parser" - }, - ignorePatterns: [ "/src/lib/*" ], - rules: { - "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", - "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", - curly: "warn", - "array-bracket-newline": [ "warn", "consistent" ], - "array-bracket-spacing": [ "warn", "always" ], - "capitalized-comments": [ "warn", "always" ], - "implicit-arrow-linebreak": [ "warn", "beside" ], - indent: [ "warn", "tab" ], - "linebreak-style": [ "warn", "unix" ], - "comma-dangle": [ "error", "never" ], - semi: [ "error", "always" ], - "no-var": "error", - quotes: [ "error", "double" ], - "quote-props": [ "error", "as-needed" ], - "space-before-function-paren": [ "error", "never" ], - camelcase: "off", - "no-tabs": "off", - "keyword-spacing": [ "error", { - overrides: { - if: { after: false }, - for: { after: false }, - while: { after: false } - } - } ], - "vue/max-attributes-per-line": [ "warn", { - singleline: { - max: 2, - allowFirstLine: true - }, - multiline: { - max: 2, - allowFirstLine: false - } - } ], - "vue/html-closing-bracket-newline": [ "error", { - singleline: "never", - multiline: "never" - } ], - "vue/html-indent": [ "error", "tab" ] - } -}; diff --git a/packages/client/package.json b/packages/client/package.json index d532de9..0c69871 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -33,11 +33,6 @@ "@vue/compiler-sfc": "^3.0.0", "@vue/eslint-config-standard": "^6.0.0", "@vue/eslint-config-typescript": "^7.0.0", - "eslint": "^7.30.0", - "eslint-plugin-import": "^2.23.4", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-vue": "^7.0.0", "sass": "^1.26.5", "sass-loader": "^12.1.0", "shared_types": "^1.0.0", -- cgit v1.2.3-18-g5258