Skip to content

Commit f738b41

Browse files
committed
kick off
0 parents  commit f738b41

20 files changed

+3785
-0
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
dist
3+
docs

.eslintrc

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"extends": ["airbnb-base", "prettier"],
4+
"plugins": ["@typescript-eslint", "prettier"],
5+
"rules": {
6+
"no-unused-vars": ["error", { "argsIgnorePattern": "next" }],
7+
"func-names": ["error", "never"],
8+
"prettier/prettier": ["error"],
9+
"arrow-parens": ["error", "always"],
10+
"no-underscore-dangle": ["error", { "allow": ["_id"] }],
11+
"consistent-return": "off",
12+
"no-restricted-syntax": 0,
13+
"prefer-destructuring": [
14+
"error",
15+
{
16+
"VariableDeclarator": {
17+
"array": false,
18+
"object": false
19+
},
20+
"AssignmentExpression": {
21+
"array": false,
22+
"object": false
23+
}
24+
},
25+
{
26+
"enforceForRenamedProperties": false
27+
}
28+
],
29+
"import/extensions": [
30+
"error",
31+
"ignorePackages",
32+
{
33+
"js": "never",
34+
"jsx": "never",
35+
"ts": "never",
36+
"tsx": "never"
37+
}
38+
],
39+
"no-await-in-loop": 0
40+
},
41+
"env": {
42+
"node": true,
43+
"mocha": true,
44+
"commonjs": true,
45+
"es6": true
46+
},
47+
"globals": {},
48+
"settings": {
49+
"import/resolver": {
50+
"node": {
51+
"extensions": [".js", ".ts"]
52+
}
53+
}
54+
}
55+
}

.gitignore

+123
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# Mac OS
2+
.DS_store
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
lerna-debug.log*
11+
.pnpm-debug.log*
12+
13+
# Diagnostic reports (https://nodejs.org/api/report.html)
14+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
15+
16+
# Runtime data
17+
pids
18+
*.pid
19+
*.seed
20+
*.pid.lock
21+
22+
# Directory for instrumented libs generated by jscoverage/JSCover
23+
lib-cov
24+
25+
# Coverage directory used by tools like istanbul
26+
coverage
27+
*.lcov
28+
29+
# nyc test coverage
30+
.nyc_output
31+
32+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33+
.grunt
34+
35+
# Bower dependency directory (https://bower.io/)
36+
bower_components
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (https://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
45+
node_modules/
46+
jspm_packages/
47+
48+
# Snowpack dependency directory (https://snowpack.dev/)
49+
web_modules/
50+
51+
# TypeScript cache
52+
*.tsbuildinfo
53+
54+
# Optional npm cache directory
55+
.npm
56+
57+
# Optional eslint cache
58+
.eslintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
65+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variables file
76+
.env
77+
.env.test
78+
.env.production
79+
80+
# parcel-bundler cache (https://parceljs.org/)
81+
.cache
82+
.parcel-cache
83+
84+
# Next.js build output
85+
.next
86+
out
87+
88+
# Nuxt.js build / generate output
89+
.nuxt
90+
dist
91+
92+
# Gatsby files
93+
.cache/
94+
# Comment in the public line in if your project uses Gatsby and not Next.js
95+
# https://nextjs.org/blog/next-9-1#public-directory-support
96+
# public
97+
98+
# vuepress build output
99+
.vuepress/dist
100+
101+
# Serverless directories
102+
.serverless/
103+
104+
# FuseBox cache
105+
.fusebox/
106+
107+
# DynamoDB Local files
108+
.dynamodb/
109+
110+
# TernJS port file
111+
.tern-port
112+
113+
# Stores VSCode versions used for testing VSCode extensions
114+
.vscode-test
115+
116+
# yarn v2
117+
.yarn/cache
118+
.yarn/unplugged
119+
.yarn/build-state.yml
120+
.yarn/install-state.gz
121+
.pnp.*
122+
123+
docs

.prettierrc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"endOfLine": "lf",
5+
"insertPragma": false,
6+
"printWidth": 100,
7+
"proseWrap": "preserve",
8+
"quoteProps": "as-needed",
9+
"requirePragma": false,
10+
"semi": true,
11+
"singleQuote": false,
12+
"tabWidth": 2,
13+
"trailingComma": "es5",
14+
"useTabs": false
15+
}

0 commit comments

Comments
 (0)