@synclab/eslint-config

1.1.2 • Public • Published

SyncLab ESLint config

Inspired by Rocketseat ESLint config.

Whats included?

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

Setup

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

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

Dependencies (13)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @synclab/eslint-config

    Weekly Downloads

    2

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    4.01 kB

    Total Files

    5

    Last publish

    Collaborators

    • joaotonaco