Skip to content

Commit e0890d0

Browse files
authored
chore: bump oxlint to 1.6.0 (#2853)
1 parent 3da27b7 commit e0890d0

File tree

4 files changed

+42
-40
lines changed

4 files changed

+42
-40
lines changed

.oxlintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
"$schema": "./node_modules/oxlint/configuration_schema.json",
33
"plugins": [
44
"import",
5-
// defaults
65
"react",
6+
"jsx-a11y",
7+
"promise",
8+
// defaults (see https://oxc.rs/docs/guide/usage/linter/plugins.html#supported-plugins)
79
"unicorn",
810
"typescript",
911
"oxc"

app/components/MswBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function MswBanner({ disableButton }: Props) {
4949
return (
5050
<>
5151
{/* The [&+*]:pt-10 style is to ensure the page container isn't pushed out of screen as it uses 100vh for layout */}
52-
<label className="absolute z-topBar flex h-10 w-full items-center justify-center text-sans-md text-info-secondary bg-info-secondary [&+*]:pt-10">
52+
<aside className="absolute z-topBar flex h-10 w-full items-center justify-center text-sans-md text-info-secondary bg-info-secondary [&+*]:pt-10">
5353
<Info16Icon className="mr-2" /> This is a technical preview.
5454
<button
5555
type="button"
@@ -59,7 +59,7 @@ export function MswBanner({ disableButton }: Props) {
5959
>
6060
Learn more <NextArrow12Icon />
6161
</button>
62-
</label>
62+
</aside>
6363
<Modal isOpen={isOpen} onDismiss={closeModal} title="Console Technical Preview">
6464
<Modal.Section>
6565
<p>

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"ip-num": "^1.5.1",
112112
"jsdom": "^25.0.1",
113113
"msw": "^2.7.5",
114-
"oxlint": "^0.16.6",
114+
"oxlint": "^1.6.0",
115115
"patch-package": "^8.0.0",
116116
"postcss": "^8.4.49",
117117
"postcss-import": "^16.1.0",

0 commit comments

Comments
 (0)