Skip to content

Commit 59e32a5

Browse files
chore: fix eslint errors
1 parent 9595b1b commit 59e32a5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.eslintrc.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,13 @@
1717
"no-console": "error",
1818
"no-debugger": "error",
1919
"prettier/prettier": "error"
20-
}
20+
},
21+
"overrides": [
22+
{
23+
"files": ["__tests__/**"],
24+
"rules": {
25+
"@typescript-eslint/no-require-imports": "off"
26+
}
27+
}
28+
]
2129
}

src/utilities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export function setStyleProp(style: string, props: Props): void {
6868

6969
try {
7070
props.style = StyleToJS(style, styleOptions);
71+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
7172
} catch (error) {
7273
props.style = {};
7374
}

0 commit comments

Comments
 (0)