Replies: 1 comment 2 replies
-
|
Thanks for the discussion! I don't think this should be flagged? And a quick test case confirms that. The plugin recognizes Make sure your ESLint config has: import globals from "globals";
languageOptions: {
globals: {
...globals.browser,
}
}So that the plugin can resolve The recommended config enables that. If you're using the recommended config but it's still broken, let me know - maybe it doesn't merge with other stuff in the way I thought it does. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here's an interesting use case that might be a bit common:
To avoid duplicating the
document.titlelogic, it's placed in<Page>so it applies to all pages, which seems reasonableIn theory an effect isn't needed for this simple "assignment," but since it's an external side-effect it seems harmless to put it into an effect
Thoughts? Wanted to start a discussion on this simple test case since we'll probably run into more complicated use cases in the future
Beta Was this translation helpful? Give feedback.
All reactions