0.0.2 • Published 11 months ago

@sothen.me/eslint-config v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Sothen 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 @sothen.me/eslint-config
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@sothen.me/eslint-config/react"
}
{
  "extends": "@sothen.me/eslint-config/next"
}

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

Credits

This repository was based on the repo @rocketseat/eslint-config-rocketseat