JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 209
  • Score
    100M100P100Q84795F
  • License MIT

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

Package Exports

  • eslint-plugin-react-compat

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-react-compat) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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