Skip to content

Commit 05b398f

Browse files
committed
tests: fix linting
1 parent 3adc288 commit 05b398f

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"no-shadow": "error",
3131
"import/no-cycle": "error",
3232
"import/no-unresolved": "error",
33-
"import/no-unused-modules": ["off", { "unusedExports": true }]
33+
"import/no-unused-modules": ["off", { "unusedExports": true }],
34+
"no-redeclare": "off"
3435
}
3536
}

src/devtools/Explorer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ export default function Explorer({
172172
)
173173
} else if (typeof value === 'object' && value !== null) {
174174
type = 'object'
175+
// eslint-disable-next-line no-shadow
175176
subEntries = Object.entries(value).map(([label, value]) =>
176177
makeProperty({
177178
label,

src/devtools/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function styled(type, newStyles, queries = {}) {
3939

4040
const mediaStyles = Object.entries(queries).reduce(
4141
(current, [key, value]) => {
42+
// eslint-disable-next-line react-hooks/rules-of-hooks
4243
return useMediaQuery(key)
4344
? {
4445
...current,

0 commit comments

Comments
 (0)