Skip to content

Commit 63bd155

Browse files
committed
Silence eslint-compat error for GraphiQL code
1 parent ee4ba55 commit 63bd155

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

eslintrc-dist.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ module.exports = {
3333
},
3434
noInlineConfig: true,
3535
reportUnusedDisableDirectives: false, // doesn't seem to work
36+
settings: {
37+
polyfills: [
38+
// Used by GraphiQL, shouldn't be a problem:
39+
'navigator.userAgentData',
40+
],
41+
},
3642
}

0 commit comments

Comments
 (0)