Skip to content

⚙️ My personal ESLint settings for Node or React/React Native apps.

Notifications You must be signed in to change notification settings

rdgomt/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

⚙️ My personal ESLint settings for Node or React/React Native apps.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published