@rhumbertgz/eslint-config-react

0.0.3 • Public • Published

Shared ESLint configuration for React projects

This ESLint configuration deactivates all formatting rules of ESLint and makes sure that Prettier is used for code beautifying.

Integrate into new project

  1. Install this package as devDependency
# yarn
$ yarn add -D @rhumbertgz/eslint-config-react

# npm
$ npm i -D @rhumbertgz/eslint-config-react

# pnpm
$ pnpm add -D @rhumbertgz/eslint-config-react
  1. Use ESLint config in your project

Create a .eslintrc.js file in project root with the following content:

module.exports = {
  extends: ["@rhumbertgz/eslint-config-react"],
};

/@rhumbertgz/eslint-config-react/

    Package Sidebar

    Install

    npm i @rhumbertgz/eslint-config-react

    Weekly Downloads

    3

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    2.8 kB

    Total Files

    3

    Last publish

    Collaborators

    • rhumbertgz