Open paroxyzm opened 2 months ago
Describe the bug Enabling the plugin makes some rules work, except await-interactions
await-interactions
To Reproduce [use reproduce repo]
.eslintrc.js
extends: ['plugin:@nx/react', 'plugin:storybook/recommended'],
overrides
{ "overrides": [ {"rules": { 'storybook/hierarchy-separator': 'error', 'storybook/await-interactions': 'error',
I was able to do semi-debugging locally, and when I remove the if condition in 'Program:exit' call, the plugin works as expected.
if
Expected behavior Missing awaits should be marked by eslint
Screenshots Proof that the recommended plugins are working at least partially for hierarchy-separator
recommended
hierarchy-separator
Local tweaking: (in node_modules/await-interactions.js)
Plugin works after local tweaking:
Any ideas on how to resolve/further debug the issue would be appreciated!
Thank you!
Describe the bug Enabling the plugin makes some rules work, except
await-interactions
To Reproduce [use reproduce repo]
.eslintrc.js
extends: ['plugin:@nx/react', 'plugin:storybook/recommended'],
overrides
to see if any rules apply - they do (except await-interactions), see screenshotsI was able to do semi-debugging locally, and when I remove the
if
condition in 'Program:exit' call, the plugin works as expected.Expected behavior Missing awaits should be marked by eslint
Screenshots Proof that the
recommended
plugins are working at least partially forhierarchy-separator
Local tweaking: (in node_modules/await-interactions.js)
Plugin works after local tweaking:
Any ideas on how to resolve/further debug the issue would be appreciated!
Thank you!