Skip to content

Commit a8ce9cd

Browse files
authoredJul 10, 2021
Merge pull request #9 from matt-fidd/v3
Initial import of v3 using new v1 backend API
2 parents 6cbe5f9 + a9d10c4 commit a8ce9cd

File tree

5 files changed

+1521
-330
lines changed

5 files changed

+1521
-330
lines changed
 

‎.eslintrc.json

+327
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,327 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": "eslint:recommended",
7+
"parserOptions": {
8+
"ecmaVersion": 12
9+
},
10+
"rules": {
11+
"accessor-pairs": "error",
12+
"array-bracket-newline": "error",
13+
"array-bracket-spacing": [
14+
"error",
15+
"never"
16+
],
17+
"array-callback-return": "error",
18+
"array-element-newline": "off",
19+
"arrow-body-style": "off",
20+
"arrow-parens": "off",
21+
"arrow-spacing": [
22+
"error",
23+
{
24+
"after": true,
25+
"before": true
26+
}
27+
],
28+
"block-scoped-var": "error",
29+
"block-spacing": [
30+
"error",
31+
"always"
32+
],
33+
"brace-style": [
34+
"error",
35+
"1tbs",
36+
{
37+
"allowSingleLine": true
38+
}
39+
],
40+
"camelcase": "off",
41+
"capitalized-comments": "off",
42+
"class-methods-use-this": "error",
43+
"comma-dangle": "off",
44+
"comma-spacing": [
45+
"error",
46+
{
47+
"after": true,
48+
"before": false
49+
}
50+
],
51+
"comma-style": [
52+
"error",
53+
"last"
54+
],
55+
"complexity": "off",
56+
"computed-property-spacing": [
57+
"error",
58+
"never"
59+
],
60+
"consistent-return": "off",
61+
"consistent-this": "error",
62+
"curly": "off",
63+
"default-case": "error",
64+
"default-case-last": "error",
65+
"default-param-last": "error",
66+
"dot-location": [
67+
"error",
68+
"property"
69+
],
70+
"dot-notation": "off",
71+
"eol-last": "error",
72+
"eqeqeq": "error",
73+
"func-call-spacing": "error",
74+
"func-name-matching": "error",
75+
"func-names": "off",
76+
"func-style": [
77+
"error",
78+
"declaration",
79+
{
80+
"allowArrowFunctions": true
81+
}
82+
],
83+
"function-call-argument-newline": "off",
84+
"function-paren-newline": "off",
85+
"generator-star-spacing": "error",
86+
"grouped-accessor-pairs": "error",
87+
"guard-for-in": "off",
88+
"id-denylist": "error",
89+
"id-length": "off",
90+
"id-match": "error",
91+
"implicit-arrow-linebreak": [
92+
"error",
93+
"beside"
94+
],
95+
"indent": "off",
96+
"init-declarations": "off",
97+
"jsx-quotes": "error",
98+
"key-spacing": "off",
99+
"keyword-spacing": [
100+
"error",
101+
{
102+
"after": true,
103+
"before": true
104+
}
105+
],
106+
"line-comment-position": "off",
107+
"linebreak-style": [
108+
"error",
109+
"unix"
110+
],
111+
"lines-around-comment": "error",
112+
"lines-between-class-members": "error",
113+
"max-classes-per-file": "error",
114+
"max-depth": "error",
115+
"max-len": "off",
116+
"max-lines": "off",
117+
"max-lines-per-function": "off",
118+
"max-nested-callbacks": "error",
119+
"max-params": "error",
120+
"max-statements": "off",
121+
"max-statements-per-line": "error",
122+
"multiline-comment-style": [
123+
"error",
124+
"starred-block"
125+
],
126+
"new-cap": "error",
127+
"new-parens": "error",
128+
"newline-per-chained-call": "off",
129+
"no-alert": "error",
130+
"no-array-constructor": "error",
131+
"no-await-in-loop": "error",
132+
"no-bitwise": "off",
133+
"no-caller": "error",
134+
"no-cond-assign": [
135+
"error",
136+
"except-parens"
137+
],
138+
"no-confusing-arrow": "error",
139+
"no-console": "off",
140+
"no-constructor-return": "error",
141+
"no-continue": "error",
142+
"no-div-regex": "error",
143+
"no-duplicate-imports": "error",
144+
"no-else-return": "error",
145+
"no-empty-function": "off",
146+
"no-eq-null": "error",
147+
"no-eval": "error",
148+
"no-extend-native": "error",
149+
"no-extra-bind": "error",
150+
"no-extra-label": "error",
151+
"no-extra-parens": "off",
152+
"no-fallthrough": [
153+
"error",
154+
{
155+
"commentPattern": "Fall(-)through"
156+
}
157+
],
158+
"no-floating-decimal": "error",
159+
"no-implicit-coercion": "error",
160+
"no-implicit-globals": "off",
161+
"no-implied-eval": "error",
162+
"no-inline-comments": "off",
163+
"no-invalid-this": "error",
164+
"no-iterator": "error",
165+
"no-label-var": "error",
166+
"no-labels": "error",
167+
"no-lone-blocks": "error",
168+
"no-lonely-if": "error",
169+
"no-loop-func": "error",
170+
"no-loss-of-precision": "error",
171+
"no-magic-numbers": "off",
172+
"no-mixed-operators": [
173+
"error",
174+
{
175+
"allowSamePrecedence": true
176+
}
177+
],
178+
"no-mixed-spaces-and-tabs": "off",
179+
"no-multi-assign": "error",
180+
"no-multi-spaces": "error",
181+
"no-multi-str": "error",
182+
"no-multiple-empty-lines": "error",
183+
"no-negated-condition": "off",
184+
"no-nested-ternary": "error",
185+
"no-new": "error",
186+
"no-new-func": "error",
187+
"no-new-object": "error",
188+
"no-new-wrappers": "error",
189+
"no-nonoctal-decimal-escape": "error",
190+
"no-octal-escape": "error",
191+
"no-param-reassign": "off",
192+
"no-plusplus": "off",
193+
"no-promise-executor-return": "error",
194+
"no-proto": "error",
195+
"no-restricted-exports": "error",
196+
"no-restricted-globals": "error",
197+
"no-restricted-imports": "error",
198+
"no-restricted-properties": "error",
199+
"no-restricted-syntax": "error",
200+
"no-return-assign": "error",
201+
"no-return-await": "error",
202+
"no-script-url": "error",
203+
"no-self-compare": "error",
204+
"no-sequences": "error",
205+
"no-shadow": "off",
206+
"no-tabs": "off",
207+
"no-template-curly-in-string": "error",
208+
"no-ternary": "off",
209+
"no-throw-literal": "error",
210+
"no-trailing-spaces": "error",
211+
"no-undef-init": "error",
212+
"no-undef": "off",
213+
"no-underscore-dangle": "off",
214+
"no-unmodified-loop-condition": "error",
215+
"no-unneeded-ternary": "error",
216+
"no-unreachable-loop": "error",
217+
"no-unsafe-optional-chaining": "error",
218+
"no-unused-expressions": "error",
219+
"no-unused-vars": [
220+
"error",
221+
{
222+
"argsIgnorePattern": "^_"
223+
}
224+
],
225+
"no-use-before-define": "off",
226+
"no-useless-backreference": "error",
227+
"no-useless-call": "error",
228+
"no-useless-computed-key": "error",
229+
"no-useless-concat": "error",
230+
"no-useless-constructor": "error",
231+
"no-useless-escape": "off",
232+
"no-useless-rename": "error",
233+
"no-useless-return": "error",
234+
"no-var": "error",
235+
"no-void": "error",
236+
"no-warning-comments": "error",
237+
"no-whitespace-before-property": "error",
238+
"nonblock-statement-body-position": [
239+
"error",
240+
"any"
241+
],
242+
"object-curly-newline": "error",
243+
"object-curly-spacing": [
244+
"error",
245+
"always"
246+
],
247+
"object-shorthand": "off",
248+
"one-var": "off",
249+
"one-var-declaration-per-line": [
250+
"error",
251+
"initializations"
252+
],
253+
"operator-assignment": "off",
254+
"operator-linebreak": "error",
255+
"padded-blocks": "off",
256+
"padding-line-between-statements": "error",
257+
"prefer-arrow-callback": "error",
258+
"prefer-const": "error",
259+
"prefer-destructuring": "off",
260+
"prefer-exponentiation-operator": "error",
261+
"prefer-named-capture-group": "off",
262+
"prefer-numeric-literals": "error",
263+
"prefer-object-spread": "error",
264+
"prefer-promise-reject-errors": "error",
265+
"prefer-regex-literals": "error",
266+
"prefer-rest-params": "error",
267+
"prefer-spread": "error",
268+
"prefer-template": "off",
269+
"quote-props": "off",
270+
"quotes": "off",
271+
"radix": "error",
272+
"require-atomic-updates": "error",
273+
"require-await": "off",
274+
"require-unicode-regexp": "off",
275+
"rest-spread-spacing": "error",
276+
"semi": "off",
277+
"semi-spacing": [
278+
"error",
279+
{
280+
"after": true,
281+
"before": false
282+
}
283+
],
284+
"semi-style": [
285+
"error",
286+
"last"
287+
],
288+
"sort-imports": "error",
289+
"sort-keys": "off",
290+
"sort-vars": "off",
291+
"space-before-blocks": "error",
292+
"space-before-function-paren": "off",
293+
"space-in-parens": [
294+
"error",
295+
"never"
296+
],
297+
"space-infix-ops": "error",
298+
"space-unary-ops": "error",
299+
"spaced-comment": [
300+
"error",
301+
"always"
302+
],
303+
"strict": [
304+
"error",
305+
"never"
306+
],
307+
"switch-colon-spacing": "error",
308+
"symbol-description": "error",
309+
"template-curly-spacing": [
310+
"error",
311+
"never"
312+
],
313+
"template-tag-spacing": "error",
314+
"unicode-bom": [
315+
"error",
316+
"never"
317+
],
318+
"vars-on-top": "error",
319+
"wrap-regex": "error",
320+
"yield-star-spacing": "error",
321+
"yoda": [
322+
"error",
323+
"never"
324+
],
325+
"no-control-regex": "off"
326+
}
327+
}

‎.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.*.swp
2+
css/*.css
3+
css/*.css.map
4+
TODO
5+
api/
6+
node_modules/
7+
package-lock.json
8+
package.json

0 commit comments

Comments
 (0)