Skip to content

๐Ÿ“ Eslint config for React & React Native projects

License

Notifications You must be signed in to change notification settings

ltatarev/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ—‚๏ธ eslint-config

NPM NPM License

Eslint config for React and React Native projects. Contains recommended rules extended from airbnb, airbnb/hooks, plugin:react, plugin:react-hooks. Added rules contain import and prop sorting, as well as most available react-native rules.

๐Ÿ–ฅ๏ธ Installation

  1. Install the desired package using the below commands.
npm install --dev @ltatarev/eslint-config-react

or

npm install --dev @ltatarev/eslint-config-react-native
  1. Add "extends": "@ltatarev/react" or "extends": "@ltatarev/react-native" to your .eslintrc.