1.0.18-alpha.0 • Published 4 years ago

@drpg/eslint-config v1.0.18-alpha.0

Weekly downloads
594
License
-
Repository
-
Last release
4 years ago

@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

NameDescription
@drpg/eslint-configThe default eslint config. See @drpg/eslint-config/react-web below.
@drpg/eslint-config/webBase standards with Jest & TypeScript integrated.
@drpg/eslint-config/react-webBase React standards with React, Jest, Storybook & TypeScript all fully integrated. (Default)
@drpg/eslint-config/react-nativeBase standards with preconfigured settings for React Native development.
@drpg/eslint-config/nodeBase 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?