Skip to content

Commit 8b7945f

Browse files
committed
feat: initial commit
0 parents  commit 8b7945f

25 files changed

+9714
-0
lines changed

.eslintrc.json

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
10+
],
11+
"parser": "@typescript-eslint/parser",
12+
"parserOptions": {
13+
"project": "tsconfig.json",
14+
"sourceType": "module"
15+
},
16+
"plugins": [
17+
"@typescript-eslint"
18+
],
19+
"rules": {
20+
"@typescript-eslint/adjacent-overload-signatures": "error",
21+
"@typescript-eslint/array-type": "error",
22+
"@typescript-eslint/ban-types": "error",
23+
"@typescript-eslint/class-name-casing": "off",
24+
"@typescript-eslint/consistent-type-assertions": "error",
25+
"@typescript-eslint/interface-name-prefix": "off",
26+
"@typescript-eslint/no-unsafe-member-access": "off",
27+
"@typescript-eslint/no-unsafe-call": "off",
28+
"@typescript-eslint/no-unsafe-assignment": "off",
29+
"@typescript-eslint/member-delimiter-style": [
30+
"error",
31+
{
32+
"multiline": {
33+
"delimiter": "semi",
34+
"requireLast": true
35+
},
36+
"singleline": {
37+
"delimiter": "semi",
38+
"requireLast": false
39+
}
40+
}
41+
],
42+
"@typescript-eslint/no-misused-promises": "off",
43+
"@typescript-eslint/no-empty-function": "error",
44+
"@typescript-eslint/no-empty-interface": "error",
45+
"@typescript-eslint/no-explicit-any": "off",
46+
"@typescript-eslint/no-misused-new": "error",
47+
"@typescript-eslint/no-namespace": "error",
48+
"@typescript-eslint/no-parameter-properties": "off",
49+
"@typescript-eslint/no-use-before-define": "off",
50+
"@typescript-eslint/no-var-requires": "off",
51+
"@typescript-eslint/prefer-for-of": "error",
52+
"@typescript-eslint/prefer-function-type": "error",
53+
"@typescript-eslint/prefer-namespace-keyword": "error",
54+
"@typescript-eslint/unbound-method": "off",
55+
"@typescript-eslint/quotes": [
56+
"error",
57+
"single",
58+
{
59+
"avoidEscape": true
60+
}
61+
],
62+
"@typescript-eslint/semi": "error",
63+
"@typescript-eslint/triple-slash-reference": "error",
64+
"@typescript-eslint/unified-signatures": "error",
65+
"arrow-parens": [
66+
"off",
67+
"as-needed"
68+
],
69+
"camelcase": "error",
70+
"comma-dangle": "off",
71+
"complexity": "off",
72+
"constructor-super": "error",
73+
"dot-notation": "error",
74+
"eqeqeq": [
75+
"error",
76+
"smart"
77+
],
78+
"guard-for-in": "error",
79+
"id-blacklist": [
80+
"error",
81+
"any",
82+
"Number",
83+
"number",
84+
"String",
85+
"string",
86+
"Boolean",
87+
"boolean",
88+
"Undefined",
89+
"undefined"
90+
],
91+
"id-match": "error",
92+
"max-classes-per-file": "off",
93+
"max-len": [
94+
"error",
95+
{
96+
"code": 80
97+
}
98+
],
99+
"new-parens": "error",
100+
"no-bitwise": "off",
101+
"no-caller": "error",
102+
"no-cond-assign": "error",
103+
"no-console": "off",
104+
"no-debugger": "error",
105+
"no-empty": "error",
106+
"no-eval": "error",
107+
"no-fallthrough": "off",
108+
"no-invalid-this": "off",
109+
"no-multiple-empty-lines": "off",
110+
"no-new-wrappers": "error",
111+
"no-shadow": [
112+
"error",
113+
{
114+
"hoist": "all"
115+
}
116+
],
117+
"no-throw-literal": "error",
118+
"no-trailing-spaces": "error",
119+
"no-undef-init": "error",
120+
"no-underscore-dangle": "error",
121+
"no-unsafe-finally": "error",
122+
"no-unused-expressions": "off",
123+
"no-unused-labels": "error",
124+
"no-var": "error",
125+
"object-shorthand": "error",
126+
"one-var": [
127+
"error",
128+
"never"
129+
],
130+
"prefer-arrow/prefer-arrow-functions": "off",
131+
"prefer-const": "error",
132+
"radix": "error",
133+
"spaced-comment": "off",
134+
"use-isnan": "error",
135+
"valid-typeof": "off"
136+
}
137+
}

.gitignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.ssh/
2+
dist/
3+
tmp/
4+
out-tsc/
5+
build/
6+
.nyc_output/
7+
node_modules/
8+
.idea/
9+
.project
10+
.classpath
11+
.c9/
12+
*.launch
13+
.settings/
14+
*.sublime-workspace
15+
.vscode/*
16+
.sass-cache/
17+
connect.lock/
18+
coverage/
19+
typings/
20+
docs/
21+
wiki/
22+
pg-pubsub.wiki
23+
debug*
24+
*.txt
25+
*.js
26+
!bin/*.js
27+
*.d.ts
28+
*.js.map
29+
*.pid
30+
*.log
31+
*.swp
32+
*.tgz
33+
.env
34+
.eslintrc
35+
.editorconfig
36+
.gitlab-ci.yml
37+
.DS_Store
38+
Thumbs.db

.npmignore

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
.gitignore
2+
.travis.yml
3+
.dockerignore
4+
.ssh/
5+
.nyc_output/
6+
.idea/
7+
.project
8+
.classpath
9+
.c9/
10+
.settings/
11+
.vscode/
12+
.sass-cache/
13+
node_modules/
14+
dist/
15+
tmp/
16+
out-tsc/
17+
build/
18+
connect.lock/
19+
coverage/
20+
typings/
21+
docs/
22+
wiki/
23+
test/
24+
debug*
25+
*.sublime-workspace
26+
*.launch
27+
*.pid
28+
*.log
29+
*.js.map
30+
*.ts
31+
*.tgz
32+
!*.d.ts
33+
debug*.d.ts
34+
.DS_Store
35+
.env
36+
.eslintrc
37+
.editorconfig
38+
.gitlab-ci.yml
39+
Dockerfile
40+
Thumbs.db
41+
tsconfig.json
42+
tslint.json
43+
.codebeatsettings
44+
.codebeatignore
45+
.eslintrc.json
46+
bin/
47+
.git/
48+
examples/

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist: focal
2+
language: node_js
3+
node_js:
4+
- lts/*

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright (c) 2018, imqueue.com <[email protected]>
2+
3+
Permission to use, copy, modify, and/or distribute this software for any purpose
4+
with or without fee is hereby granted, provided that the above copyright notice
5+
and this permission notice appear in all copies.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
9+
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13+
PERFORMANCE OF THIS SOFTWARE.

0 commit comments

Comments
 (0)