Eslint-plugin-jsx-a11y: [v4.0.0] Definition for rule 'jsx-a11y/no-marquee' was not found

Created on 4 Feb 2017  路  5Comments  路  Source: jsx-eslint/eslint-plugin-jsx-a11y

Hi, do I need to change something to get rid of this error?

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": 0 as a temporary workaround.

All 5 comments

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.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pixieduhst picture pixieduhst  路  3Comments

minhqp picture minhqp  路  6Comments

markduan picture markduan  路  5Comments

lencioni picture lencioni  路  5Comments

mikehwagz picture mikehwagz  路  4Comments