Skip to content

Commit abae364

Browse files
committed
Lint
1 parent 224a6a7 commit abae364

File tree

4 files changed

+63
-83
lines changed

4 files changed

+63
-83
lines changed

package-lock.json

Lines changed: 41 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
"webext-options-sync": "^4.3.0"
1919
},
2020
"devDependencies": {
21-
"@antfu/eslint-config": "^3.11.2",
21+
"@antfu/eslint-config": "^3.12.0",
2222
"@rollup/plugin-commonjs": "^28.0.1",
2323
"@rollup/plugin-node-resolve": "^15.3.0",
2424
"@types/chrome": "^0.0.287",
25-
"eslint": "^9.16.0",
25+
"eslint": "^9.17.0",
2626
"eslint-plugin-svelte": "^2.46.1",
2727
"npm-run-all2": "^7.0.1",
2828
"prettier": "^3.4.2",

source/options/options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</p>
4848
<p>
4949
<label for="width"> Width <small>(in pixels)</small> </label>
50-
<input type="text" name="width" id="width" placeholder="400" size="5"/>
50+
<input type="text" name="width" id="width" placeholder="400" size="5" />
5151
</p>
5252
</form>
5353
<hr />

source/options/webext-base.css

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,35 @@
1010

1111
body {
1212
/* Must be on body because both browsers have `font-size: 75%` here */
13-
font: 16px/1.5 system-ui, sans-serif;
13+
font:
14+
16px/1.5 system-ui,
15+
sans-serif;
1416
}
1517

1618
select,
1719
textarea,
1820
input:where(
19-
[type='number'],
20-
[type='password'],
21-
[type='search'],
22-
[type='text'],
23-
[type='url'],
24-
:not([type])
25-
) {
21+
[type='number'],
22+
[type='password'],
23+
[type='search'],
24+
[type='text'],
25+
[type='url'],
26+
:not([type])
27+
) {
2628
box-sizing: border-box;
2729
font: inherit;
2830
line-height: 2;
2931
}
3032

3133
textarea,
3234
input:where(
33-
[type='number'],
34-
[type='password'],
35-
[type='search'],
36-
[type='text'],
37-
[type='url'],
38-
:not([type])
39-
):not([size]) {
35+
[type='number'],
36+
[type='password'],
37+
[type='search'],
38+
[type='text'],
39+
[type='url'],
40+
:not([type])
41+
):not([size]) {
4042
width: 100%;
4143
}
4244

@@ -98,12 +100,6 @@ kbd {
98100
.text-monospace,
99101
.monospace-field {
100102
/* Same as GitHub style for `code` */
101-
font-family:
102-
ui-monospace,
103-
SFMono-Regular,
104-
'SF Mono',
105-
Menlo,
106-
Consolas,
107-
'Liberation Mono',
108-
monospace !important;
103+
font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas,
104+
'Liberation Mono', monospace !important;
109105
}

0 commit comments

Comments
 (0)