1.7.0 • Published 5 months ago

@rdgomt/eslint-config v1.7.0

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

Setup

  1. Install the dependencies
yarn add -D eslint prettier @rdgomt/eslint-config
  1. Create a .eslintrc file extending the config:
{
  "extends": "@rdgomt/eslint-config/react"
  // "extends": "@rdgomt/eslint-config" for node apps
}
  1. Add "strictNullChecks": true to compilerOptions inside tsconfig.json to take advantage of all typescript rules.

What is included?

  • prettier
  • @typescript/eslint
  • sonarjs
  • unicorn
  • import-helpers
  • unused-imports
  • typescript-sort-keys
  • @react-native-community
  • storybook
  • react/jsx-runtime
  • @tanstack/eslint-plugin-query
  • react-perf
  • eslint-plugin-etc
  • eslint-plugin-check-file
  • eslint-plugin-promise
  • eslint-plugin-security