Users adding Flow to their project will bump into this error:
https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/249
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.
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-a11ycurrently intentionally shipssrcdirectory 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.flowconfigbut of course this breaks our zero-config promise.