A Discord Bot connected to your Pterodactyl API.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add eslint config

authored by

cosmeak and committed by
Cosmeak
a6562709 b11ef047

+115
+115
.eslintrc.json
··· 1 + { 2 + "extends": "eslint:recommended", 3 + "env": { 4 + "node": true, 5 + "es6": true 6 + }, 7 + "parserOptions": { 8 + "ecmaVersion": 2021, 9 + "sourceType": "script" 10 + }, 11 + "rules": { 12 + "arrow-spacing": [ 13 + "warn", 14 + { 15 + "before": true, 16 + "after": true 17 + } 18 + ], 19 + "brace-style": [ 20 + "error", 21 + "stroustrup", 22 + { 23 + "allowSingleLine": true 24 + } 25 + ], 26 + "comma-dangle": [ 27 + "error", 28 + "always-multiline" 29 + ], 30 + "comma-spacing": "error", 31 + "comma-style": "error", 32 + "curly": [ 33 + "error", 34 + "multi-line", 35 + "consistent" 36 + ], 37 + "dot-location": [ 38 + "error", 39 + "property" 40 + ], 41 + "handle-callback-err": "off", 42 + "indent": [ 43 + "error", 44 + "tab" 45 + ], 46 + "keyword-spacing": "error", 47 + "max-nested-callbacks": [ 48 + "error", 49 + { 50 + "max": 4 51 + } 52 + ], 53 + "max-statements-per-line": [ 54 + "error", 55 + { 56 + "max": 2 57 + } 58 + ], 59 + "no-console": "off", 60 + "no-empty-function": "error", 61 + "no-floating-decimal": "error", 62 + "no-inline-comments": "error", 63 + "no-lonely-if": "error", 64 + "no-multi-spaces": "error", 65 + "no-multiple-empty-lines": [ 66 + "error", 67 + { 68 + "max": 2, 69 + "maxEOF": 1, 70 + "maxBOF": 0 71 + } 72 + ], 73 + "no-shadow": [ 74 + "error", 75 + { 76 + "allow": [ 77 + "err", 78 + "resolve", 79 + "reject" 80 + ] 81 + } 82 + ], 83 + "no-trailing-spaces": [ 84 + "error" 85 + ], 86 + "no-var": "error", 87 + "object-curly-spacing": [ 88 + "error", 89 + "always" 90 + ], 91 + "prefer-const": "error", 92 + "quotes": [ 93 + "error", 94 + "double" 95 + ], 96 + "semi": [ 97 + "error", 98 + "always" 99 + ], 100 + "space-before-blocks": "error", 101 + "space-before-function-paren": [ 102 + "error", 103 + { 104 + "anonymous": "never", 105 + "named": "never", 106 + "asyncArrow": "always" 107 + } 108 + ], 109 + "space-in-parens": "error", 110 + "space-infix-ops": "error", 111 + "space-unary-ops": "error", 112 + "spaced-comment": "error", 113 + "yoda": "error" 114 + } 115 + }