Skip to content

Commit 6d7c4a3

Browse files
committed
Add dotfiles
1 parent 2ac7056 commit 6d7c4a3

File tree

3 files changed

+271
-103
lines changed

3 files changed

+271
-103
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

.eslintrc.json

Lines changed: 268 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,268 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": "eslint:recommended",
8+
"parserOptions": {
9+
"ecmaVersion": 2020
10+
},
11+
"globals": {
12+
"BigInt": true
13+
},
14+
"rules": {
15+
"indent": [
16+
"error",
17+
2
18+
],
19+
"linebreak-style": [
20+
"error",
21+
"unix"
22+
],
23+
"quotes": [
24+
"error",
25+
"single"
26+
],
27+
"semi": [
28+
"error",
29+
"always"
30+
],
31+
"no-loop-func": [
32+
"error"
33+
],
34+
"block-spacing": [
35+
"error",
36+
"always"
37+
],
38+
"camelcase": [
39+
"error"
40+
],
41+
"eqeqeq": [
42+
"error",
43+
"always"
44+
],
45+
"strict": [
46+
"error",
47+
"global"
48+
],
49+
"brace-style": [
50+
"error",
51+
"1tbs",
52+
{
53+
"allowSingleLine": true
54+
}
55+
],
56+
"comma-style": [
57+
"error",
58+
"last"
59+
],
60+
"comma-spacing": [
61+
"error",
62+
{
63+
"before": false,
64+
"after": true
65+
}
66+
],
67+
"eol-last": [
68+
"error"
69+
],
70+
"func-call-spacing": [
71+
"error",
72+
"never"
73+
],
74+
"key-spacing": [
75+
"error",
76+
{
77+
"beforeColon": false,
78+
"afterColon": true,
79+
"mode": "minimum"
80+
}
81+
],
82+
"keyword-spacing": [
83+
"error",
84+
{
85+
"before": true,
86+
"after": true,
87+
"overrides": {
88+
"function": {
89+
"after": false
90+
}
91+
}
92+
}
93+
],
94+
"max-len": [
95+
"error",
96+
{
97+
"code": 80,
98+
"ignoreUrls": true
99+
}
100+
],
101+
"max-nested-callbacks": [
102+
"error",
103+
{
104+
"max": 7
105+
}
106+
],
107+
"new-cap": [
108+
"error",
109+
{
110+
"newIsCap": true,
111+
"capIsNew": false,
112+
"properties": true
113+
}
114+
],
115+
"new-parens": [
116+
"error"
117+
],
118+
"no-lonely-if": [
119+
"error"
120+
],
121+
"no-trailing-spaces": [
122+
"error"
123+
],
124+
"no-unneeded-ternary": [
125+
"error"
126+
],
127+
"no-whitespace-before-property": [
128+
"error"
129+
],
130+
"object-curly-spacing": [
131+
"error",
132+
"always"
133+
],
134+
"operator-assignment": [
135+
"error",
136+
"always"
137+
],
138+
"operator-linebreak": [
139+
"error",
140+
"after"
141+
],
142+
"semi-spacing": [
143+
"error",
144+
{
145+
"before": false,
146+
"after": true
147+
}
148+
],
149+
"space-before-blocks": [
150+
"error",
151+
"always"
152+
],
153+
"space-before-function-paren": [
154+
"error",
155+
{
156+
"anonymous": "never",
157+
"named": "never",
158+
"asyncArrow": "always"
159+
}
160+
],
161+
"space-in-parens": [
162+
"error",
163+
"never"
164+
],
165+
"space-infix-ops": [
166+
"error"
167+
],
168+
"space-unary-ops": [
169+
"error",
170+
{
171+
"words": true,
172+
"nonwords": false,
173+
"overrides": {
174+
"typeof": false
175+
}
176+
}
177+
],
178+
"no-unreachable": [
179+
"error"
180+
],
181+
"no-global-assign": [
182+
"error"
183+
],
184+
"no-self-compare": [
185+
"error"
186+
],
187+
"no-unmodified-loop-condition": [
188+
"error"
189+
],
190+
"no-constant-condition": [
191+
"error",
192+
{
193+
"checkLoops": false
194+
}
195+
],
196+
"no-console": [
197+
"off"
198+
],
199+
"no-useless-concat": [
200+
"error"
201+
],
202+
"no-useless-escape": [
203+
"error"
204+
],
205+
"no-shadow-restricted-names": [
206+
"error"
207+
],
208+
"no-use-before-define": [
209+
"error",
210+
{
211+
"functions": false
212+
}
213+
],
214+
"arrow-parens": [
215+
"error",
216+
"as-needed"
217+
],
218+
"arrow-body-style": [
219+
"error",
220+
"as-needed"
221+
],
222+
"arrow-spacing": [
223+
"error"
224+
],
225+
"no-confusing-arrow": [
226+
"error",
227+
{
228+
"allowParens": true
229+
}
230+
],
231+
"no-useless-computed-key": [
232+
"error"
233+
],
234+
"no-useless-rename": [
235+
"error"
236+
],
237+
"no-var": [
238+
"error"
239+
],
240+
"object-shorthand": [
241+
"error",
242+
"always"
243+
],
244+
"prefer-arrow-callback": [
245+
"error"
246+
],
247+
"prefer-const": [
248+
"error"
249+
],
250+
"prefer-numeric-literals": [
251+
"error"
252+
],
253+
"prefer-rest-params": [
254+
"error"
255+
],
256+
"prefer-spread": [
257+
"error"
258+
],
259+
"rest-spread-spacing": [
260+
"error",
261+
"never"
262+
],
263+
"template-curly-spacing": [
264+
"error",
265+
"never"
266+
]
267+
}
268+
}

.gitignore

Lines changed: 2 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,3 @@
1-
# Logs
2-
logs
1+
node_modules
32
*.log
4-
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
11-
12-
# Runtime data
13-
pids
14-
*.pid
15-
*.seed
16-
*.pid.lock
17-
18-
# Directory for instrumented libs generated by jscoverage/JSCover
19-
lib-cov
20-
21-
# Coverage directory used by tools like istanbul
22-
coverage
23-
*.lcov
24-
25-
# nyc test coverage
26-
.nyc_output
27-
28-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29-
.grunt
30-
31-
# Bower dependency directory (https://bower.io/)
32-
bower_components
33-
34-
# node-waf configuration
35-
.lock-wscript
36-
37-
# Compiled binary addons (https://nodejs.org/api/addons.html)
38-
build/Release
39-
40-
# Dependency directories
41-
node_modules/
42-
jspm_packages/
43-
44-
# TypeScript v1 declaration files
45-
typings/
46-
47-
# TypeScript cache
48-
*.tsbuildinfo
49-
50-
# Optional npm cache directory
51-
.npm
52-
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-
62-
# Optional REPL history
63-
.node_repl_history
64-
65-
# Output of 'npm pack'
66-
*.tgz
67-
68-
# Yarn Integrity file
69-
.yarn-integrity
70-
71-
# dotenv environment variables file
72-
.env
73-
.env.test
74-
75-
# parcel-bundler cache (https://parceljs.org/)
76-
.cache
77-
78-
# Next.js build output
79-
.next
80-
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
93-
94-
# Serverless directories
95-
.serverless/
96-
97-
# FuseBox cache
98-
.fusebox/
99-
100-
# DynamoDB Local files
101-
.dynamodb/
102-
103-
# TernJS port file
104-
.tern-port
3+
.DS_Store

0 commit comments

Comments
 (0)