aboutsummaryrefslogtreecommitdiff
path: root/packages/server/.eslintrc.js
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/server/.eslintrc.js
parentc63e558f402cfad914031a58fdcf3d8e0f3d125d (diff)
Moved eslint stuff to the workspace root
Diffstat (limited to 'packages/server/.eslintrc.js')
-rw-r--r--packages/server/.eslintrc.js135
1 files changed, 0 insertions, 135 deletions
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