Make sure your React code is compatible with Inferno and Preact.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
scripts
src
.babelrc.js
.eslintrc.js
.flowconfig
.gitignore
.pr-bumper.json
.travis.yml
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md
jest.config.js
package.json
yarn.lock

README.md

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