Skip to content

Commit 03da3d2

Browse files
spawniaclaude
andauthored
build: Update @mll-lab/eslint-plugin to ^1.4.0
Apply new prefer-loose-nullish-equality rule. Co-authored-by: Claude <noreply@anthropic.com>
1 parent a8865e0 commit 03da3d2

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@babel/preset-typescript": "^7.28.5",
7373
"@babel/runtime": "^7.26.10",
7474
"@mll-lab/eslint-config": "^3.1.0",
75-
"@mll-lab/eslint-plugin": "^1.3.4",
75+
"@mll-lab/eslint-plugin": "^1.4.0",
7676
"@mll-lab/prettier-config": "^1.0.0",
7777
"@mll-lab/tsconfig": "^3.0.0",
7878
"@rollup/plugin-babel": "^6.0.4",

src/Collapse/SingleCollapse.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function SingleCollapse({
2020
collapse,
2121
panel,
2222
}: SingleCollapseProps) {
23-
const isControlled = collapse?.open !== undefined;
23+
const isControlled = collapse?.open != null;
2424
if (isControlled) {
2525
return (
2626
<Collapse

src/ImageMap/ImageMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function ImageMap(props: ImageMapProps) {
1717
props.onError?.(error);
1818
}
1919

20-
if (dimensions === null) {
20+
if (dimensions == null) {
2121
return null;
2222
}
2323

src/TecanDeckView/TecanDeckView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function TecanDeckView({ labwares }: { labwares: TecanLabwares }) {
109109
}, []);
110110

111111
React.useEffect(() => {
112-
if (availableWidth === undefined) return;
112+
if (availableWidth == null) return;
113113

114114
const totalColumnOverhead = COLUMN_OVERHEAD * COLUMN_COUNT;
115115
const availableContentWidth =

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2729,14 +2729,14 @@ __metadata:
27292729
languageName: node
27302730
linkType: hard
27312731

2732-
"@mll-lab/eslint-plugin@npm:^1.3.4":
2733-
version: 1.3.4
2734-
resolution: "@mll-lab/eslint-plugin@npm:1.3.4"
2732+
"@mll-lab/eslint-plugin@npm:^1.4.0":
2733+
version: 1.4.0
2734+
resolution: "@mll-lab/eslint-plugin@npm:1.4.0"
27352735
dependencies:
27362736
"@typescript-eslint/experimental-utils": "npm:^5.62"
27372737
peerDependencies:
27382738
eslint: ^8.8.0
2739-
checksum: 10c0/228442c1ddaccf094e0fd4e2d7116fbbac29977d4ba12d7c4b435453f730a4a93c66c428f9df8afacb26bcd5e728ea51404a556b1f9bf4053243e1d68d3cbcdd
2739+
checksum: 10c0/695c1f8720a89418222c63f527e03a898eca8d325549685b40b52fe31ddd252517501aebf76effca003f7acada303bc6ca316845c16837b53800c89f57d44cc9
27402740
languageName: node
27412741
linkType: hard
27422742

@@ -2773,7 +2773,7 @@ __metadata:
27732773
"@babel/runtime": "npm:^7.26.10"
27742774
"@dnd-kit/core": "npm:^6.0.8"
27752775
"@mll-lab/eslint-config": "npm:^3.1.0"
2776-
"@mll-lab/eslint-plugin": "npm:^1.3.4"
2776+
"@mll-lab/eslint-plugin": "npm:^1.4.0"
27772777
"@mll-lab/js-utils": "npm:^2.41.0"
27782778
"@mll-lab/prettier-config": "npm:^1.0.0"
27792779
"@mll-lab/tsconfig": "npm:^3.0.0"

0 commit comments

Comments
 (0)