-
|
Hi everyone! As far as I could see in the code, this rule especially is an exception in terms of aggressive reporting - therefore I added import { screen } from 'shadow-dom-testing-library';
...
screen.getByText('example').click(); // triggers no-node-access with the utils-module settingNow we often use other queries, because as far as I understand it, this is the point of screen.getByShadowText('example').click();doesn't trigger the Do you have any idea what I could do to make this combination of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @NicoVIII. I'm afraid that Your settings for adding custom queries and utils module are a good idea, but I'm afraid that The ideal fix would be to actually add such queries and module to the codebase (plus a preset for this framework) with a PR. |
Beta Was this translation helpful? Give feedback.
Hi @NicoVIII. I'm afraid that
shadow-dom-testing-libraryis not fully supported by this plugin.Your settings for adding custom queries and utils module are a good idea, but I'm afraid that
no-node-accessworks independently from those settings to better detect the testing library utils.The ideal fix would be to actually add such queries and module to the codebase (plus a preset for this framework) with a PR.