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/server/.eslintrc.js | 135 ------------------------------------------- packages/server/package.json | 5 -- 2 files changed, 140 deletions(-) delete mode 100644 packages/server/.eslintrc.js (limited to 'packages/server') 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", -- cgit v1.2.3-18-g5258