Skip to content

Commit 915ce42

Browse files
committed
Update dotfiles
1 parent c904f65 commit 915ce42

24 files changed

+12468
-3277
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
node_modules/
12
README.md

.eslintrc.json

Lines changed: 45 additions & 159 deletions
Original file line numberDiff line numberDiff line change
@@ -9,67 +9,33 @@
99
"ecmaVersion": 2018
1010
},
1111
"rules": {
12-
"indent": [
13-
"error",
14-
2,
15-
{ "SwitchCase": 1 }
16-
],
17-
"linebreak-style": [
18-
"error",
19-
"unix"
20-
],
21-
"quotes": [
22-
"error",
23-
"single"
24-
],
25-
"semi": [
26-
"error",
27-
"always"
28-
],
12+
"indent": ["error", 2, { "SwitchCase": 1 }],
13+
"linebreak-style": ["error", "unix"],
14+
"quotes": ["error", "single"],
15+
"semi": ["error", "always"],
2916
"no-console": "off",
30-
"no-loop-func": [
31-
"error"
32-
],
33-
"block-spacing": [
34-
"error",
35-
"always"
36-
],
37-
"camelcase": [
38-
"error"
39-
],
40-
"eqeqeq": [
41-
"error",
42-
"always"
43-
],
44-
"strict": [
45-
"error",
46-
"global"
47-
],
17+
"no-loop-func": ["error"],
18+
"block-spacing": ["error", "always"],
19+
"camelcase": ["error"],
20+
"eqeqeq": ["error", "always"],
21+
"strict": ["error", "global"],
4822
"brace-style": [
4923
"error",
5024
"1tbs",
5125
{
5226
"allowSingleLine": true
5327
}
5428
],
55-
"comma-style": [
56-
"error",
57-
"last"
58-
],
29+
"comma-style": ["error", "last"],
5930
"comma-spacing": [
6031
"error",
6132
{
6233
"before": false,
6334
"after": true
6435
}
6536
],
66-
"eol-last": [
67-
"error"
68-
],
69-
"func-call-spacing": [
70-
"error",
71-
"never"
72-
],
37+
"eol-last": ["error"],
38+
"func-call-spacing": ["error", "never"],
7339
"key-spacing": [
7440
"error",
7541
{
@@ -111,41 +77,21 @@
11177
"properties": true
11278
}
11379
],
114-
"new-parens": [
115-
"error"
116-
],
117-
"no-trailing-spaces": [
118-
"error"
119-
],
120-
"no-unneeded-ternary": [
121-
"error"
122-
],
123-
"no-whitespace-before-property": [
124-
"error"
125-
],
126-
"object-curly-spacing": [
127-
"error",
128-
"always"
129-
],
130-
"operator-assignment": [
131-
"error",
132-
"always"
133-
],
134-
"operator-linebreak": [
135-
"error",
136-
"after"
137-
],
80+
"new-parens": ["error"],
81+
"no-trailing-spaces": ["error"],
82+
"no-unneeded-ternary": ["error"],
83+
"no-whitespace-before-property": ["error"],
84+
"object-curly-spacing": ["error", "always"],
85+
"operator-assignment": ["error", "always"],
86+
"operator-linebreak": ["error", "after"],
13887
"semi-spacing": [
13988
"error",
14089
{
14190
"before": false,
14291
"after": true
14392
}
14493
],
145-
"space-before-blocks": [
146-
"error",
147-
"always"
148-
],
94+
"space-before-blocks": ["error", "always"],
14995
"space-before-function-paren": [
15096
"error",
15197
{
@@ -154,13 +100,8 @@
154100
"asyncArrow": "always"
155101
}
156102
],
157-
"space-in-parens": [
158-
"error",
159-
"never"
160-
],
161-
"space-infix-ops": [
162-
"error"
163-
],
103+
"space-in-parens": ["error", "never"],
104+
"space-infix-ops": ["error"],
164105
"space-unary-ops": [
165106
"error",
166107
{
@@ -171,94 +112,39 @@
171112
}
172113
}
173114
],
174-
"no-unreachable": [
175-
"error"
176-
],
177-
"no-global-assign": [
178-
"error"
179-
],
180-
"no-self-compare": [
181-
"error"
182-
],
183-
"no-unmodified-loop-condition": [
184-
"error"
185-
],
115+
"no-unreachable": ["error"],
116+
"no-global-assign": ["error"],
117+
"no-self-compare": ["error"],
118+
"no-unmodified-loop-condition": ["error"],
186119
"no-constant-condition": [
187120
"error",
188121
{
189122
"checkLoops": false
190123
}
191124
],
192-
"no-console": [
193-
"off"
194-
],
195-
"no-useless-concat": [
196-
"error"
197-
],
198-
"no-useless-escape": [
199-
"error"
200-
],
201-
"no-shadow-restricted-names": [
202-
"error"
203-
],
204-
"no-use-before-define": [
205-
"error",
206-
{
207-
"functions": false
208-
}
209-
],
210-
"arrow-parens": [
211-
"error",
212-
"always"
213-
],
214-
"arrow-body-style": [
215-
"error",
216-
"as-needed"
217-
],
218-
"arrow-spacing": [
219-
"error"
220-
],
125+
"no-console": ["off"],
126+
"no-useless-concat": ["error"],
127+
"no-useless-escape": ["error"],
128+
"no-shadow-restricted-names": ["error"],
129+
"arrow-parens": ["error", "always"],
130+
"arrow-body-style": ["error", "as-needed"],
131+
"arrow-spacing": ["error"],
221132
"no-confusing-arrow": [
222133
"error",
223134
{
224135
"allowParens": true
225136
}
226137
],
227-
"no-useless-computed-key": [
228-
"error"
229-
],
230-
"no-useless-rename": [
231-
"error"
232-
],
233-
"no-var": [
234-
"error"
235-
],
236-
"object-shorthand": [
237-
"error",
238-
"always"
239-
],
240-
"prefer-arrow-callback": [
241-
"error"
242-
],
243-
"prefer-const": [
244-
"error"
245-
],
246-
"prefer-numeric-literals": [
247-
"error"
248-
],
249-
"prefer-rest-params": [
250-
"error"
251-
],
252-
"prefer-spread": [
253-
"error"
254-
],
255-
"rest-spread-spacing": [
256-
"error",
257-
"never"
258-
],
259-
"template-curly-spacing": [
260-
"error",
261-
"never"
262-
]
138+
"no-useless-computed-key": ["error"],
139+
"no-useless-rename": ["error"],
140+
"no-var": ["error"],
141+
"object-shorthand": ["error", "always"],
142+
"prefer-arrow-callback": ["error"],
143+
"prefer-const": ["error"],
144+
"prefer-numeric-literals": ["error"],
145+
"prefer-rest-params": ["error"],
146+
"prefer-spread": ["error"],
147+
"rest-spread-spacing": ["error", "never"],
148+
"template-curly-spacing": ["error", "never"]
263149
}
264-
}
150+
}

.gitattributes

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

.gitignore

Lines changed: 3 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,9 @@
1-
# Logs
1+
node_modules
2+
23
logs
34
*.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
525

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
726
.env
737
.env.test
748

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
9+
.DS_Store

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
*.log
3+
.DS_Store

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

0 commit comments

Comments
 (0)