1.1.0 • Published 3 years ago

@cafeedesign/eslint-config v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Eslint Config for Cafe e Design

Whats included?

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

Setup

  1. Install the dependencies

with npm

npm i eslint @cafeedesign/eslint-config -D

with yarn

yarn add eslint @cafeedesign/eslint-config -D
  1. Create a .eslintrc.json or file extending the config:
{
  "extends": "@cafeedesign/eslint-config/react"
}

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