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

7 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 command.
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.