Skip to content

Commit fd24bb1

Browse files
committed
Initial commit
0 parents  commit fd24bb1

16 files changed

+9559
-0
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
**/package.json

.eslintrc.json

+354
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,354 @@
1+
{
2+
"env": {
3+
"amd": true,
4+
"es2021": true,
5+
"node": true,
6+
"mongo": true
7+
},
8+
"extends": ["eslint:recommended"],
9+
"parserOptions": {
10+
"ecmaVersion": 12
11+
},
12+
"plugins": [
13+
"json"
14+
],
15+
"rules": {
16+
"accessor-pairs": "error",
17+
"array-bracket-newline": "off",
18+
"array-bracket-spacing": [
19+
"error",
20+
"never"
21+
],
22+
"array-callback-return": "off",
23+
"array-element-newline": "off",
24+
"arrow-body-style": "off",
25+
"arrow-parens": [
26+
"error",
27+
"always"
28+
],
29+
"arrow-spacing": [
30+
"error",
31+
{
32+
"after": true,
33+
"before": true
34+
}
35+
],
36+
"block-scoped-var": "error",
37+
"block-spacing": "error",
38+
"brace-style": [
39+
"error",
40+
"1tbs"
41+
],
42+
"callback-return": "error",
43+
"camelcase": "error",
44+
"capitalized-comments": "off",
45+
"class-methods-use-this": "off",
46+
"comma-dangle": "error",
47+
"comma-spacing": [
48+
"error",
49+
{
50+
"after": true,
51+
"before": false
52+
}
53+
],
54+
"comma-style": [
55+
"error",
56+
"last"
57+
],
58+
"complexity": "error",
59+
"computed-property-spacing": "error",
60+
"consistent-return": "off",
61+
"consistent-this": "error",
62+
"curly": "error",
63+
"default-case": "error",
64+
"default-case-last": "error",
65+
"default-param-last": "error",
66+
"dot-location": [
67+
"error",
68+
"property"
69+
],
70+
"dot-notation": [
71+
"error",
72+
{
73+
"allowKeywords": true
74+
}
75+
],
76+
"eol-last": [
77+
"error",
78+
"always"
79+
],
80+
"eqeqeq": "error",
81+
"func-call-spacing": "error",
82+
"func-name-matching": "error",
83+
"func-names": "error",
84+
"func-style": [
85+
"error",
86+
"declaration"
87+
],
88+
"function-call-argument-newline": [
89+
"error",
90+
"consistent"
91+
],
92+
"function-paren-newline": "off",
93+
"generator-star-spacing": "error",
94+
"global-require": "error",
95+
"grouped-accessor-pairs": "error",
96+
"guard-for-in": "error",
97+
"handle-callback-err": "error",
98+
"id-blacklist": "error",
99+
"id-denylist": "error",
100+
"id-length": "error",
101+
"id-match": "error",
102+
"implicit-arrow-linebreak": "error",
103+
"indent": [
104+
"error",
105+
"tab",
106+
{
107+
"SwitchCase": 1
108+
}
109+
],
110+
"indent-legacy": "off",
111+
"init-declarations": [
112+
"error",
113+
"never"
114+
],
115+
"json/*": "error",
116+
"jsx-quotes": "error",
117+
"key-spacing": "error",
118+
"keyword-spacing": [
119+
"error",
120+
{
121+
"after": true,
122+
"before": true
123+
}
124+
],
125+
"line-comment-position": "warn",
126+
"linebreak-style": [
127+
"error",
128+
"unix"
129+
],
130+
"lines-around-comment": "error",
131+
"lines-around-directive": "error",
132+
"lines-between-class-members": [
133+
"error",
134+
"always"
135+
],
136+
"max-classes-per-file": "error",
137+
"max-depth": "error",
138+
"max-len": [
139+
"error",
140+
{
141+
"ignoreComments": true,
142+
"ignoreTemplateLiterals": true
143+
}
144+
],
145+
"max-lines": "error",
146+
"max-lines-per-function": "error",
147+
"max-nested-callbacks": "error",
148+
"max-params": "off",
149+
"max-statements": "off",
150+
"max-statements-per-line": "error",
151+
"multiline-comment-style": [
152+
"error",
153+
"bare-block"
154+
],
155+
"multiline-ternary": [
156+
"error",
157+
"never"
158+
],
159+
"new-cap": "error",
160+
"new-parens": "error",
161+
"newline-after-var": "off",
162+
"newline-before-return": "off",
163+
"newline-per-chained-call": "error",
164+
"no-alert": "error",
165+
"no-array-constructor": "error",
166+
"no-await-in-loop": "error",
167+
"no-bitwise": "error",
168+
"no-buffer-constructor": "error",
169+
"no-caller": "error",
170+
"no-confusing-arrow": "error",
171+
"no-console": "off",
172+
"no-constructor-return": "error",
173+
"no-continue": "error",
174+
"no-div-regex": "error",
175+
"no-duplicate-imports": "error",
176+
"no-else-return": "error",
177+
"no-empty-function": "error",
178+
"no-eq-null": "error",
179+
"no-eval": "off",
180+
"no-extend-native": "error",
181+
"no-extra-bind": "error",
182+
"no-extra-label": "error",
183+
"no-extra-parens": "error",
184+
"no-floating-decimal": "error",
185+
"no-implicit-coercion": "error",
186+
"no-implicit-globals": "error",
187+
"no-implied-eval": "error",
188+
"no-inline-comments": "warn",
189+
"no-invalid-this": "error",
190+
"no-irregular-whitespace": "off",
191+
"no-iterator": "error",
192+
"no-label-var": "error",
193+
"no-labels": "error",
194+
"no-lone-blocks": "error",
195+
"no-lonely-if": "error",
196+
"no-loop-func": "error",
197+
"no-loss-of-precision": "error",
198+
"no-magic-numbers": "off",
199+
"no-mixed-operators": "error",
200+
"no-mixed-requires": "error",
201+
"no-multi-assign": "error",
202+
"no-multi-spaces": "error",
203+
"no-multi-str": "error",
204+
"no-multiple-empty-lines": "error",
205+
"no-native-reassign": "error",
206+
"no-negated-condition": "off",
207+
"no-negated-in-lhs": "error",
208+
"no-nested-ternary": "error",
209+
"no-new": "error",
210+
"no-new-func": "error",
211+
"no-new-object": "error",
212+
"no-new-require": "error",
213+
"no-new-wrappers": "error",
214+
"no-octal-escape": "error",
215+
"no-param-reassign": "error",
216+
"no-path-concat": "error",
217+
"no-plusplus": "error",
218+
"no-process-env": "error",
219+
"no-process-exit": "off",
220+
"no-promise-executor-return": "error",
221+
"no-proto": "error",
222+
"no-restricted-exports": "error",
223+
"no-restricted-globals": "error",
224+
"no-restricted-imports": "error",
225+
"no-restricted-modules": "error",
226+
"no-restricted-properties": "error",
227+
"no-restricted-syntax": "error",
228+
"no-return-assign": "error",
229+
"no-return-await": "off",
230+
"no-script-url": "error",
231+
"no-self-compare": "error",
232+
"no-sequences": "error",
233+
"no-shadow": "off",
234+
"no-spaced-func": "error",
235+
"no-sync": "error",
236+
"no-tabs": [
237+
"error",
238+
{
239+
"allowIndentationTabs": true
240+
}
241+
],
242+
"no-template-curly-in-string": "off",
243+
"no-ternary": "off",
244+
"no-throw-literal": "error",
245+
"no-trailing-spaces": "error",
246+
"no-undef-init": "error",
247+
"no-undefined": "off",
248+
"no-underscore-dangle": "error",
249+
"no-unmodified-loop-condition": "error",
250+
"no-unneeded-ternary": [
251+
"error",
252+
{
253+
"defaultAssignment": true
254+
}
255+
],
256+
"no-unreachable-loop": "error",
257+
"no-unused-expressions": "error",
258+
"no-unused-vars": "off",
259+
"no-use-before-define": "error",
260+
"no-useless-backreference": "error",
261+
"no-useless-call": "error",
262+
"no-useless-computed-key": "error",
263+
"no-useless-concat": "error",
264+
"no-useless-constructor": "error",
265+
"no-useless-rename": "error",
266+
"no-useless-return": "error",
267+
"no-var": "error",
268+
"no-void": "error",
269+
"no-warning-comments": "warn",
270+
"no-whitespace-before-property": "error",
271+
"nonblock-statement-body-position": "error",
272+
"object-curly-newline": "error",
273+
"object-curly-spacing": "off",
274+
"object-property-newline": "off",
275+
"object-shorthand": [
276+
"error",
277+
"never"
278+
],
279+
"one-var": "off",
280+
"one-var-declaration-per-line": "error",
281+
"operator-assignment": "error",
282+
"operator-linebreak": [
283+
"error",
284+
"before"
285+
],
286+
"padded-blocks": "off",
287+
"padding-line-between-statements": "error",
288+
"prefer-arrow-callback": "error",
289+
"prefer-const": "off",
290+
"prefer-destructuring": "off",
291+
"prefer-exponentiation-operator": "error",
292+
"prefer-named-capture-group": "error",
293+
"prefer-numeric-literals": "error",
294+
"prefer-object-spread": "error",
295+
"prefer-promise-reject-errors": "error",
296+
"prefer-reflect": "off",
297+
"prefer-regex-literals": "error",
298+
"prefer-rest-params": "error",
299+
"prefer-spread": "error",
300+
"prefer-template": "error",
301+
"quote-props": "off",
302+
"quotes": [
303+
"error",
304+
"double"
305+
],
306+
"radix": "error",
307+
"require-atomic-updates": "error",
308+
"require-await": "off",
309+
"require-jsdoc": "off",
310+
"require-unicode-regexp": "off",
311+
"rest-spread-spacing": "error",
312+
"semi": "off",
313+
"semi-spacing": "error",
314+
"semi-style": [
315+
"error",
316+
"last"
317+
],
318+
"sort-imports": "error",
319+
"sort-keys": "off",
320+
"sort-vars": "error",
321+
"space-before-blocks": "error",
322+
"space-before-function-paren": "off",
323+
"space-in-parens": [
324+
"error",
325+
"never"
326+
],
327+
"space-infix-ops": "error",
328+
"space-unary-ops": "error",
329+
"spaced-comment": [
330+
"error",
331+
"always"
332+
],
333+
"switch-colon-spacing": "error",
334+
"symbol-description": "error",
335+
"template-curly-spacing": [
336+
"error",
337+
"never"
338+
],
339+
"template-tag-spacing": "error",
340+
"unicode-bom": [
341+
"error",
342+
"never"
343+
],
344+
"valid-jsdoc": "error",
345+
"vars-on-top": "error",
346+
"wrap-iife": "error",
347+
"wrap-regex": "off",
348+
"yield-star-spacing": "error",
349+
"yoda": [
350+
"error",
351+
"never"
352+
]
353+
}
354+
}

.github/ISSUE_TEMPLATE/bug-report.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Bug Report
3+
about: Report an issue
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Reproducible By**
14+
A step by step list on how the bug can be reproduced for examination.
15+
16+
**Expected behavior**
17+
A clear and concise description of what you expected to happen.
18+
19+
**Logs / Screenshots**
20+
If applicable, add screenshots to help explain your problem, or alternatively add your console logs here.
21+
22+
**Desktop (please complete the following information):**
23+
This is just your OS and environment information [e.g. Ubuntu 18.04 LTS, Node v14.14.0]
24+
25+
**Additional context**
26+
Add any other context about the problem here.

0 commit comments

Comments
 (0)