Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit bacf8ef

Browse files
committed
Update to rome stable.
Includes workarounds for: - rome/tools#3734 - rome/tools#3735
1 parent 5fab4dd commit bacf8ef

4 files changed

Lines changed: 61 additions & 110 deletions

File tree

package-lock.json

Lines changed: 57 additions & 105 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
@@ -36,7 +36,7 @@
3636
"esbuild": "^0.15.13",
3737
"jest": "^29.2.2",
3838
"jest-environment-jsdom": "^29.2.2",
39-
"rome": "^0.10.1-next",
39+
"rome": "^10.0.1",
4040
"ts-jest": "^29.0.3",
4141
"typescript": "^4.8.4"
4242
},

rome.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"linter": {
77
"enabled": true,
88
"rules": {
9-
"recommended": true,
10-
"correctness": {
11-
"useSimplifiedLogicExpression": "off"
12-
}
9+
"recommended": true
1310
}
1411
}
1512
}

src/webauthn-json/basic/supported.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
// https://developers.google.com/web/updates/2018/03/webauthn-credential-management
55

66
export function supported(): boolean {
7+
// rome-ignore format: Work around https://github.com/rome/tools/issues/3734
78
return !!(
9+
// rome-ignore lint(style/useOptionalChain): Optional chaining creates more complicated ES2019 code
810
navigator.credentials &&
911
navigator.credentials.create &&
1012
navigator.credentials.get &&

0 commit comments

Comments
 (0)