@tonaco/eslint-config

1.0.0 • Public • Published

ESLint config by @joaotonaco

Inspired by Rocketseat ESLint config.

Whats included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Import plugin;
  • Prettier;

Setup

  1. Install the dependencies
npm i -D eslint @tonaco/eslint-config
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@tonaco/eslint-config/react"
  // "extends": "@tonaco/eslint-config/node"
}

You can also use a .eslintrc.js instead of JSON if you prefer.

Dependencies (14)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @tonaco/eslint-config

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.84 kB

    Total Files

    5

    Last publish

    Collaborators

    • joaotonaco