@northern-devs/eslint-config-react
v1.0.1
Published
Northern Devs react-falvoured eslint configuration
Downloads
3
Readme
ESLint Config - React
The React-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
Ensure you have eslint installed as well, more information can be found here.
While our base configuration (@northern-devs/eslint-config-base) is NOT required, we highly recommend it! Click here to get our base configuration.
Usage
Modify your file .eslintrc.js
(or wherever your ESLint configuration is stored) to include this extension:
module.exports = {
extends: [
// The default configuration
'@northern-devs/eslint-config-react',
// The separate coding style configuartion
'@northern-devs/eslint-config-react/coding-style',
]
}
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 |