You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node_modules/eslint-plugin-jsx-a11y/src/rules/media-has-caption.js:54
54: if (child.type !== 'JSXElement') {
^^^^ property `type`. Property not found in
54: if (child.type !== 'JSXElement') {
^^^^^ Node
This is because eslint-plugin-jsx-a11y currently intentionally ships src directory which recently got Flow annotations.
I don't know what the solution is but filed this to keep tracking.
The workaround for now would be to add this plugin to [ignore] section of .flowconfig but of course this breaks our zero-config promise.
The text was updated successfully, but these errors were encountered:
Users adding Flow to their project will bump into this error:
https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/249
This is because
eslint-plugin-jsx-a11y
currently intentionally shipssrc
directory which recently got Flow annotations.I don't know what the solution is but filed this to keep tracking.
The workaround for now would be to add this plugin to
[ignore]
section of.flowconfig
but of course this breaks our zero-config promise.The text was updated successfully, but these errors were encountered: