Skip to content

Commit d348860

Browse files
committed
Update dotfiles
1 parent 1c414d8 commit d348860

File tree

3 files changed

+264
-173
lines changed

3 files changed

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy