1.0.0 • Published 10 months ago

@ikluth/eslint-config v1.0.0

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

iKluth ESLint config

Whats included?

  • Standard config base;
  • React config base;
  • Expo config base;
  • Next.js config base;
  • Node config base;
  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Prettier;

Setup

  1. Install the dependencies
# If you are using NPM
$ npm i eslint @ikluth/eslint-config -D

# If you are using Yarn
$ yarn add eslint @ikluth/eslint-config -D

# If you are using PNPM
$ pnpm i eslint @ikluth/eslint-config -D
  1. Create a .eslintrc.json file extending the configuration you want to use:
{
  "extends": "@ikluth/eslint-config/next"
  // "extends": "@ikluth/eslint-config/react"
  // "extends": "@ikluth/eslint-config/expo"
  // "extends": "@ikluth/eslint-config/node"
}

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