@drpg/eslint-config
v1.0.18-alpha.0
Published
An eslint configuration that includes our common eslint settings for the different types of projects we work on.
Downloads
135
Readme
@drpg/eslint-config
An eslint configuration that includes our common eslint settings for the different types of projects we work on.
Usage
.eslintrc
{
"extends": "@drpg/eslint-config"
}Configurations
| Name | Description |
| - | - |
| @drpg/eslint-config | The default eslint config. See @drpg/eslint-config/react-web below. |
| @drpg/eslint-config/web | Base standards with Jest & TypeScript integrated. |
| @drpg/eslint-config/react-web | Base React standards with React, Jest, Storybook & TypeScript all fully integrated. (Default) |
| @drpg/eslint-config/react-native | Base standards with preconfigured settings for React Native development. |
| @drpg/eslint-config/node | Base standards tweaked for NodeJS development. |
@drpg/eslint-config
Alias for @drpg/eslint-config/react-web
@drpg/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 @drpg/eslint-config/react-web instead).
@drpg/eslint-config/react-web
Includes support for;
- React
- Jest
- Storybook
- TypeScript
@drpg/eslint-config/react-native
TODO: Make this config. Raise a MR?
@drpg/eslint-config/node
TODO: Make this config. Raise a MR?
