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.
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.
In your project's .eslintrc, add the following:
{
"extends": ["@t3n/eslint-config"]
}
Use this configuration alongside the base configuration if your project uses React. It extends eslint-config-airbnb
.
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 Typescript.
In your project's .eslintrc, add the following:
{
"extends": ["@t3n/eslint-config", "@t3n/eslint-config-typescript"]
}
Install all necessary development dependencies by running npm install --dev