Skip to content

Commit dfb5ab4

Browse files
committed
fix: remove ESLint warns about !
1 parent b960f12 commit dfb5ab4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.eslintrc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@
3636
"error",
3737
"stroustrup"
3838
],
39-
39+
4040
"no-console": "error",
41-
"no-trailing-spaces": "error"
41+
"no-trailing-spaces": "error",
42+
"@typescript-eslint/no-non-null-assertion": "off"
4243
}
4344
}

src/hcaptcha.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ const HCaptcha: Component<HCaptchaProps> = (props) => {
265265

266266
return (
267267
<div
268-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
269268
ref={captcha_ref!}
270269
id={state.elementId}
271270
/>

0 commit comments

Comments
 (0)