Make sure your React code is compatible with Inferno and Preact.
npm
npm install eslint-plugin-react-compat
yarn
yarn add eslint-plugin-react-compat
Add the following to your ESLint configuration file:
{
"extends": ["plugin:react-compat/recommended"],
"plugins": ["react-compat"]
}
Please see the code of conduct.
Please see the contributing guide.