Javascript: Replace eslint-plugin-react with eslint-plugin-inferno?

Created on 6 Feb 2017  路  2Comments  路  Source: airbnb/javascript

Hi,

I want to use eslint-config-airbnb but also want to use Inferno instead of React.

Unfortunately eslint-config-airbnb depends on eslint-plugin-react. Is there an easy way where I can replace eslint-plugin-react with eslint-plugin-inferno and everything works as expected?

question react

Most helpful comment

Thank you for the very quick response! 馃槼 馃憤

All 2 comments

No easy way. You'd have to manually disable all the react rules, and then enable all of the inferno rules you want. Alternatively, you could start with eslint-config-airbnb-base, and then layer inferno and jsx-a11y on top of that.

Thank you for the very quick response! 馃槼 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielfttorres picture danielfttorres  路  3Comments

stephenkingsley picture stephenkingsley  路  3Comments

surfaceowl picture surfaceowl  路  3Comments

vsemozhetbyt picture vsemozhetbyt  路  3Comments

kozhevnikov picture kozhevnikov  路  3Comments