Skip to content

Commit 2feee9c

Browse files
committed
feat: initital commit
1 parent 2d532d2 commit 2feee9c

22 files changed

+18030
-85
lines changed

.eslintrc.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"ecmaVersion": 2020
5+
},
6+
"env": {
7+
"node": true
8+
},
9+
"extends": [
10+
"eslint:recommended",
11+
"plugin:@typescript-eslint/recommended",
12+
"plugin:prettier/recommended"
13+
],
14+
"rules": {
15+
"complexity": [
16+
"warn",
17+
10
18+
],
19+
"prefer-const": "error",
20+
"@typescript-eslint/no-explicit-any": "off",
21+
"@typescript-eslint/no-var-requires": "off",
22+
"@typescript-eslint/no-unused-vars": "error",
23+
"@typescript-eslint/no-non-null-assertion": "off",
24+
"@typescript-eslint/explicit-module-boundary-types": "off",
25+
"padding-line-between-statements": [
26+
"error",
27+
{
28+
"blankLine": "always",
29+
"prev": "*",
30+
"next": "if"
31+
},
32+
{
33+
"blankLine": "always",
34+
"prev": "*",
35+
"next": "block-like"
36+
},
37+
{
38+
"blankLine": "always",
39+
"prev": "*",
40+
"next": "block"
41+
},
42+
{
43+
"blankLine": "always",
44+
"prev": "*",
45+
"next": "return"
46+
}
47+
]
48+
}
49+
}

.gitignore

Lines changed: 24 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -2,103 +2,64 @@
22
logs
33
*.log
44
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
9-
# Diagnostic reports (https://nodejs.org/api/report.html)
10-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
115

126
# Runtime data
137
pids
148
*.pid
159
*.seed
16-
*.pid.lock
1710

1811
# Directory for instrumented libs generated by jscoverage/JSCover
1912
lib-cov
2013

2114
# Coverage directory used by tools like istanbul
2215
coverage
23-
*.lcov
2416

2517
# nyc test coverage
2618
.nyc_output
2719

28-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
2921
.grunt
3022

31-
# Bower dependency directory (https://bower.io/)
32-
bower_components
33-
3423
# node-waf configuration
3524
.lock-wscript
3625

37-
# Compiled binary addons (https://nodejs.org/api/addons.html)
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
3827
build/Release
3928

4029
# Dependency directories
41-
node_modules/
42-
jspm_packages/
43-
44-
# TypeScript v1 declaration files
45-
typings/
46-
47-
# TypeScript cache
48-
*.tsbuildinfo
30+
node_modules
31+
jspm_packages
4932

5033
# Optional npm cache directory
5134
.npm
5235

53-
# Optional eslint cache
54-
.eslintcache
55-
56-
# Microbundle cache
57-
.rpt2_cache/
58-
.rts2_cache_cjs/
59-
.rts2_cache_es/
60-
.rts2_cache_umd/
61-
6236
# Optional REPL history
6337
.node_repl_history
6438

65-
# Output of 'npm pack'
66-
*.tgz
39+
# 0x
40+
profile-*
6741

68-
# Yarn Integrity file
69-
.yarn-integrity
42+
# mac files
43+
.DS_Store
7044

71-
# dotenv environment variables file
72-
.env
73-
.env.test
45+
# vim swap files
46+
*.swp
7447

75-
# parcel-bundler cache (https://parceljs.org/)
76-
.cache
48+
# webstorm
49+
.idea
7750

78-
# Next.js build output
79-
.next
51+
# vscode
52+
.vscode
53+
*code-workspace
8054

81-
# Nuxt.js build / generate output
82-
.nuxt
83-
dist
84-
85-
# Gatsby files
86-
.cache/
87-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88-
# https://nextjs.org/blog/next-9-1#public-directory-support
89-
# public
90-
91-
# vuepress build output
92-
.vuepress/dist
55+
# clinic
56+
profile*
57+
*clinic*
58+
*flamegraph*
9359

94-
# Serverless directories
95-
.serverless/
60+
# generated code
61+
examples/typescript-server.js
62+
test/types/index.js
9663

97-
# FuseBox cache
98-
.fusebox/
99-
100-
# DynamoDB Local files
101-
.dynamodb/
102-
103-
# TernJS port file
104-
.tern-port
64+
# compiled app
65+
dist

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"tabWidth": 4,
3+
"singleQuote": true,
4+
"printWidth": 80,
5+
"trailingComma": "all",
6+
"semi": false
7+
}

.taprc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test-env: [
2+
TS_NODE_PROJECT=./test/tsconfig.test.json
3+
]

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)