@drpgroup/eslint-config
An eslint configuration that includes our common eslint settings for the different types of projects we work on.
Usage
.eslintrc
{
"extends": "@drpgroup/eslint-config"
}
Configurations
Name | Description |
---|
@drpgroup/eslint-config | The default eslint config. See @drpgroup/eslint-config/react-web below. |
@drpgroup/eslint-config/web | Base standards with Jest & TypeScript integrated. |
@drpgroup/eslint-config/react-web | Base React standards with React, Jest, Storybook & TypeScript all fully integrated. (Default) |
@drpgroup/eslint-config/react-native | Base standards with preconfigured settings for React Native development. |
@drpgroup/eslint-config/node | Base standards tweaked for NodeJS development. |
@drpgroup/eslint-config
Alias for @drpgroup/eslint-config/react-web
@drpgroup/eslint-config/web
Base general-purpose standard for web projects. Does not include any framework-specific linting rules.
This should not be used on any projects with React (use @drpgroup/eslint-config/react-web
instead).
@drpgroup/eslint-config/react-web
Includes support for;
- React
- Jest
- Storybook
- TypeScript
@drpgroup/eslint-config/react-native
TODO: Make this config. Raise a MR?
@drpgroup/eslint-config/node
TODO: Make this config. Raise a MR?