Skip to content

geninhocell/eslint-config

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published