Skip to content

Make sure your React code is compatible with Inferno and Preact.

License

Notifications You must be signed in to change notification settings

dogma-io/eslint-plugin-react-compat

Repository files navigation

eslint-plugin-react-compat NPM Coverage

Make sure your React code is compatible with Inferno and Preact.

Table of Contents

Installation

npm

npm install eslint-plugin-react-compat

yarn

yarn add eslint-plugin-react-compat

Documentation

Add the following to your ESLint configuration file:

{
  "extends": ["plugin:react-compat/recommended"],
  "plugins": ["react-compat"]
}

Code of Conduct

Please see the code of conduct.

Contributing

Please see the contributing guide.

License

MIT