1.2.4 • Published 11 months ago

@geninhocell/eslint-config v1.2.4

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

geninhocell ESLint config

Whats included?

  • Standard config base;
  • React plugin;
  • React Native plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • @typescript-eslint plugin;
  • Prettier;

Install the dependencies

$ npm i -D eslint @geninhocell/eslint-config

Setup react

  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@geninhocell/eslint-config/react"
}

Setup react-native

  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@geninhocell/eslint-config/native"
}

Setup NodeJS

  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@geninhocell/eslint-config/node"
}

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

License

License MIT © Andrea SonnY