Skip to content

Commit 1335bc6

Browse files
committed
Lint
1 parent 36f81d2 commit 1335bc6

File tree

4 files changed

+22
-18
lines changed

4 files changed

+22
-18
lines changed

packages/ui/src/css/base.css

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@
66
--border-radius-6: 6px;
77
--border-radius-12: 12px;
88
--box-shadow: var(--box-shadow-menu);
9-
--box-shadow-menu: 0 5px 17px rgba(0, 0, 0, 0.2),
10-
0 2px 7px rgba(0, 0, 0, 0.15), inset 0 0 0 0.5px #000000,
11-
0 0 0 0.5px rgba(0, 0, 0, 0.1);
12-
--box-shadow-modal: 0 2px 14px rgba(0, 0, 0, 0.15),
13-
0 0 0 0.5px rgba(0, 0, 0, 0.2);
14-
--box-shadow-range-slider: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
15-
0 3px 8px 0 rgba(0, 0, 0, 0.1), 0 0 0.5px 0 rgba(0, 0, 0, 0.18),
16-
inset 0 0 0 0.5px rgba(0, 0, 0, 0.1);
9+
--box-shadow-menu:
10+
0 5px 17px rgba(0, 0, 0, 0.2), 0 2px 7px rgba(0, 0, 0, 0.15),
11+
inset 0 0 0 0.5px #000000, 0 0 0 0.5px rgba(0, 0, 0, 0.1);
12+
--box-shadow-modal:
13+
0 2px 14px rgba(0, 0, 0, 0.15), 0 0 0 0.5px rgba(0, 0, 0, 0.2);
14+
--box-shadow-range-slider:
15+
0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 3px 8px 0 rgba(0, 0, 0, 0.1),
16+
0 0 0.5px 0 rgba(0, 0, 0, 0.18), inset 0 0 0 0.5px rgba(0, 0, 0, 0.1);
1717
--color-bg-menu: #1e1e1e;
1818
--color-bg-overlay: rgba(0, 0, 0, 0.5);
1919
--font-family: 'Inter', 'Helvetica', sans-serif;
20-
--font-family-code: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
21-
'Courier New', monospace;
20+
--font-family-code:
21+
SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
22+
monospace;
2223
--font-size-11: 11px;
2324
--font-size-12: 12px;
2425
--font-weight-regular: 400;

packages/utilities/src/number/evaluate-numeric-expression.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export function evaluateNumericExpression(value: string): null | number {
2323
if (operatorRegex.test(value) === true) {
2424
if (operatorSuffixRegex.test(value) === true) {
2525
// Drop the operator suffix
26-
return eval(value.substring(0, value.length - 1)) // eslint-disable-line no-eval
26+
return eval(value.substring(0, value.length - 1))
2727
}
28-
return eval(value) // eslint-disable-line no-eval
28+
return eval(value)
2929
}
3030
return parseFloat(value)
3131
}

packages/website/css/utilities/menu.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,10 @@
105105
(
106106
100% - var(--width-secondary) - var(--width-secondary) -
107107
var(--width-main)
108-
) / 2
109-
) + var(--width-main) + var(--space-100)
108+
) /
109+
2
110+
) +
111+
var(--width-main) + var(--space-100)
110112
);
111113
overflow: auto;
112114
width: var(--width-secondary);

packages/website/css/variables.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
--color-white: #fff;
1414
--color-highlight-bg: #141f28;
1515
--color-highlight-fg: #7cc4f8;
16-
--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
17-
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
18-
--font-family-code: SFMono-Regular, Consolas, 'Liberation Mono', Menlo,
19-
monospace;
16+
--font-family:
17+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif,
18+
'Apple Color Emoji', 'Segoe UI Emoji';
19+
--font-family-code:
20+
SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
2021
--font-weight-regular: normal;
2122
--font-weight-bold: 500;
2223
--font-size-code: 90%;

0 commit comments

Comments
 (0)