aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-25 13:23:19 +0200
committerHampusM <hampus@hampusmat.com>2021-07-25 13:23:19 +0200
commit49c80c82d5bcbf92aa51ab84ee4a99b1af3b0694 (patch)
tree7222104f1bd9abcef1016470498eab1c72455bf8 /packages
parentc63e558f402cfad914031a58fdcf3d8e0f3d125d (diff)
Moved eslint stuff to the workspace root
Diffstat (limited to 'packages')
-rw-r--r--packages/client/.eslintrc.js56
-rw-r--r--packages/client/package.json5
-rw-r--r--packages/server/.eslintrc.js135
-rw-r--r--packages/server/package.json5
4 files changed, 0 insertions, 201 deletions
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",
diff --git a/packages/server/.eslintrc.js b/packages/server/.eslintrc.js
deleted file mode 100644
index df161ad..0000000
--- a/packages/server/.eslintrc.js
+++ /dev/null
@@ -1,135 +0,0 @@
-module.exports = {
- env: {
- commonjs: true,
- es2021: true,
- node: true
- },
- extends: [ "standard", "plugin:@typescript-eslint/recommended" ],
- parser: "@typescript-eslint/parser",
- parserOptions: {
- ecmaVersion: 12
- },
- plugins: [ "@typescript-eslint" ],
- rules: {
- "array-bracket-spacing": [
- "error",
- "always"
- ],
- "array-element-newline": "off",
- "arrow-body-style": "off",
- "arrow-parens": [
- "error",
- "as-needed"
- ],
- "arrow-spacing": [
- "error",
- {
- after: true,
- before: true
- }
- ],
- "brace-style": [ "error", "stroustrup", { "allowSingleLine": false } ],
- camelcase: "off",
- "capitalized-comments": [
- "error",
- "always"
- ],
- "comma-spacing": [
- "error",
- {
- after: true,
- before: false
- }
- ],
- "comma-style": [
- "error",
- "last"
- ],
- "computed-property-spacing": [
- "error",
- "never"
- ],
- curly: [ "error", "all" ],
- "dot-notation": "off",
- "eol-last": [
- "error",
- "never"
- ],
- eqeqeq: "error",
- "func-names": "off",
- "func-style": [ "error", "declaration" ],
- "id-length": "off",
- "implicit-arrow-linebreak": [
- "error",
- "beside"
- ],
- indent: [ "warn", "tab" ],
- "keyword-spacing": "off",
- "linebreak-style": [
- "error",
- "unix"
- ],
- "max-len": "off",
- "max-lines": [ "error", 600 ],
- "max-params": [ "error", 6 ],
- "max-statements": "off",
- "multiline-comment-style": [ "error", "bare-block" ],
- "no-await-in-loop": "off",
- "no-console": "off",
- "no-else-return": [
- "error",
- {
- allowElseIf: true
- }
- ],
- "no-extra-parens": "off",
- "no-magic-numbers": "off",
- "no-tabs": "off",
- "no-ternary": "off",
- "no-underscore-dangle": [ "error", { "allowAfterThis": true } ],
- "object-curly-spacing": [
- "error",
- "always"
- ],
- "object-shorthand": "off",
- "one-var": "off",
- "padded-blocks": "off",
- "prefer-arrow-callback": "off",
- "prefer-const": "off",
- "prefer-destructuring": "off",
- "prefer-template": "off",
- "quote-props": "off",
- quotes: [ "error", "double" ],
- semi: [ "error", "always" ],
- "semi-style": [
- "error",
- "last"
- ],
- "sort-keys": "off",
- "space-before-function-paren": [ "error", "never" ],
- "space-in-parens": [
- "error",
- "never"
- ],
- "spaced-comment": [
- "error",
- "always"
- ],
- strict: [
- "error",
- "never"
- ],
- "template-curly-spacing": [
- "error",
- "never"
- ],
- "unicode-bom": [
- "error",
- "never"
- ],
- yoda: [
- "error",
- "never"
- ]
- }
-}; \ No newline at end of file
diff --git a/packages/server/package.json b/packages/server/package.json
index e5bc228..f5ff6e1 100644
--- a/packages/server/package.json
+++ b/packages/server/package.json
@@ -24,11 +24,6 @@
"@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-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",