Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.32 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.32 KB

@t3n/eslint-config

This monorepo provides the development environment for three packages with extensible ESLint configurations for Javascript, React and Typescript development in (not exclusively) the t3n.de domain.

Packages

@t3n/eslint-config

Provides the extensible base eslint configuration for javascript projects. It extends eslint-config-airbnb-base, as well as rules for jest unit tests and prettier formatting.

Usage

In your project's .eslintrc, add the following:

{
  "extends": ["@t3n/eslint-config"]
}

@t3n/eslint-config-react

Use this configuration alongside the base configuration if your project uses React. It extends eslint-config-airbnb.

Usage

In your project's .eslintrc, add the following:

{
  "extends": ["@t3n/eslint-config", "@t3n/eslint-config-react"]
}

@t3n/eslint-config-typescript

Use this configuration alongside the base configuration if your project uses Typescript.

Usage

In your project's .eslintrc, add the following:

{
  "extends": ["@t3n/eslint-config", "@t3n/eslint-config-typescript"]
}

Development

Install all necessary development dependencies by running npm install --dev