@northern-devs/eslint-config-react-native
v1.0.1
Published
Northern Devs React Native-flavoured eslint configuration
Downloads
1
Readme
ESLint Config - React Native
The React Native-flavoured ESLint configuration we use at Northern Devs!
More information about our ESLint configurations can be found in the readme of our base configuration, found here.
Installation
npm i --save-dev @northern-devs/eslint-config-react-native
Ensure you have eslint installed as well, more information can be found here.
While our base configuration (@northern-devs/eslint-config-base) and React configuration (@northern-devs/eslint-config-react) are NOT required, we highly recommend them! Click here to get our base configuration. Click here to get our React configuration.
Usage
Modify your file .eslintrc.js
(or wherever your ESLint configuration is stored) to include this extension:
module.exports = {
extends: [
'@northern-devs/eslint-config-react-native',
]
}
You may need to restart your IDE for the changes to take effect.
Framework-Specific Configurations
Northern Devs has an ever-growing list of framework-specific eslint configurations that we use!
| Framework or Library | Link | | -------------------- | ------------------------------------------------------------------------------- | | Typescript | link | | React | link | | React Native | link |