babel-eslint vs eslint-plugin-babel vs eslint-plugin-react


Good answer.

  • eslint-plugin-* are ESLint plugins, they add some additional rules to ESLint.

    • eslint-plugin-babel add some rules for some of the Babel experimental features which are not natively supported by ESLint.
    • eslint-plugin-react add some rules specifically for React, this mostly include good practices and JSX code formatting.
  • babel-eslint is a parser, it will transform your JavaScript code into an AST that will be used by ESLint to validate your code.