eslint-plugin-react VS eslint-plugin-import

Compare eslint-plugin-react vs eslint-plugin-import and see what are their differences.

eslint-plugin-import

ESLint plugin with rules that help validate proper imports. [Moved to: https://github.com/import-js/eslint-plugin-import] (by benmosher)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
eslint-plugin-react eslint-plugin-import
67 3
8,810 3,509
0.5% -
8.6 9.1
1 day ago over 2 years ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

eslint-plugin-react

Posts with mentions or reviews of eslint-plugin-react. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-08.

eslint-plugin-import

Posts with mentions or reviews of eslint-plugin-import. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-26.
  • How to remove ESlint error no-unresolved from importing 'react'
    1 project | /r/codehunter | 7 Apr 2022
    no-unresolved https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md
  • Eslint with husky deleted changes
    1 project | /r/node | 12 Mar 2022
    module.exports = { extends: 'erb', rules: { // A temporary hack related to IDE not resolving correct package.json 'import/no-extraneous-dependencies': 'off', 'import/no-unresolved': 'error', // Since React 17 and typescript 4.1 you can safely disable the rule 'react/react-in-jsx-scope': 'off', // custom overrides 'global-require': 'off', 'class-methods-use-this': 'off', 'promise/always-return': 'off', 'import/order': 'warn', 'import/prefer-default-export': 'off', 'jsx-a11y/media-has-caption': 'off', 'spaced-comment': 'off', 'jsx-a11y/label-has-associated-control': [ 'error', { required: { some: ['nesting', 'id'], }, }, ], 'jsx-a11y/label-has-for': [ 'error', { required: { some: ['nesting', 'id'], }, }, ], '@typescript-eslint/ban-ts-comment': 'off', 'prettier/prettier': 'off', }, plugins: ['prettier'], parserOptions: { ecmaVersion: 2020, sourceType: 'module', project: './tsconfig.json', tsconfigRootDir: __dirname, createDefaultProgram: true, }, settings: { 'import/resolver': { // See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below node: {}, webpack: { config: require.resolve('./.erb/configs/webpack.config.eslint.ts'), }, typescript: {}, }, 'import/parsers': { '@typescript-eslint/parser': ['.ts', '.tsx'], }, }, };
  • ESLint config for React and React Native development
    5 projects | /r/reactnative | 26 Aug 2021
    eslint-plugin-import

What are some alternatives?

When comparing eslint-plugin-react and eslint-plugin-import you can also consider the following projects:

stylelint-config-prettier - Turns off all rules that are unnecessary or might conflict with prettier.

typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript

berry - 📦🐈 Active development trunk for Yarn ⚒

You-Dont-Need-Lodash-Underscore - List of JavaScript methods which you can use natively + ESLint Plugin

javascript - JavaScript Style Guide

eslint-plugin-svelte3 - An ESLint plugin for Svelte v3 components.

prop-types - Runtime type checking for React props and similar objects

eslint-plugin-import - ESLint plugin with rules that help validate proper imports.

razzle - ✨ Create server-rendered universal JavaScript applications with no configuration

React - The library for web and native user interfaces.

eslint-plugin-prettier - ESLint plugin for Prettier formatting

eslint-config-react-strong - ESLint strong (strict) config for React and React Native development.