6.2.1 • Published 4 months ago

@t3n/eslint-config-react v6.2.1

Weekly downloads
41
License
ISC
Repository
-
Last release
4 months ago

@t3n/eslint-config-react

This package provides an extensible ESLint configuration for React development in (not exclusively) the t3n.de domain.

Installation

npm install --dev @t3n/eslint-config-react

To use the provided ESLint configuration, you need to have eslint as well as some other peerDependencies installed in your project. You can do this by following one of these two steps:

Install peerDependencies automatically (requires npm 5+)

npx install-peerdeps --dev @t3n/eslint-config && npx install-peerdeps --dev @t3n/eslint-config-react

Manually install peerDependencies

List the projects peerDependencies by running the following command:

npm info "@t3n/eslint-config-react" peerDependencies

Install all the listed peerDependencies as devDependencies in your project.

Usage

@t3n/eslint-config-react extends eslint-config-airbnb rules, including react rules, as well as rules for jest unit tests and prettier.

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

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

4 months ago

6.2.0

10 months ago

6.1.0

2 years ago

6.0.3

2 years ago

6.0.1

3 years ago

6.0.2

3 years ago

5.3.1

3 years ago

5.3.0

4 years ago

5.2.1

4 years ago

5.2.0

4 years ago

5.1.0

4 years ago

5.0.1

4 years ago

5.0.0

4 years ago