Skip to content

Commit 77fd762

Browse files
author
serban-petrescu
committed
#15: Initial overhaul
Added Bulma for the pure CSS. Used moment and numerals for formatting. Changed overall HTML structure. Enhanced the loading "view".
1 parent 3b744e3 commit 77fd762

File tree

6 files changed

+729
-213
lines changed

6 files changed

+729
-213
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[*]
2+
end_of_line = lf
3+
indent_style = space
4+
indent_size = 2

.eslintrc.json

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

0 commit comments

Comments
 (0)