ltatarev / eslint-config

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ—‚οΈ 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.

About

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

License:MIT License


Languages

Language:JavaScript 100.0%