Hi, do I need to change something to get rid of this error?
Hi @diegohaz - yes this was removed in v4 in favor of no-distracting-elements rule
Had same error, in my case the problem it's in this line from AirBnB eslint-config-airbnb rules:
https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb/rules/react-a11y.js#L97
It also asks for old dependency.
Added issue https://github.com/airbnb/javascript/issues/1290
cool, thanks @logicoder - if you install peerDependencies for eslint-config-airbnb with the command on their README i don't think you'll run into this issue (since they depend on older version)
(
export PKG=eslint-config-airbnb;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
Sent PR: https://github.com/airbnb/javascript/pull/1291
Thanks @evcohen for the great work, I like your new rules so... I added "jsx-a11y/no-marquee": 0 as a temporary workaround.
Most helpful comment
Sent PR: https://github.com/airbnb/javascript/pull/1291
Thanks @evcohen for the great work, I like your new rules so... I added
"jsx-a11y/no-marquee": 0as a temporary workaround.