6.2.3 • Published 10 months ago
@t3n/eslint-config-typescript v6.2.3
@t3n/eslint-config-typescript
This package provide an extensible ESLint configuration for Typescript development in (not exclusively) the t3n.de domain.
Installation
npm install --dev @t3n/eslint-config @t3n/eslint-config-typescriptTo 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-typescriptManually install peerDependencies
List the projects peerDependencies by running the following command:
npm info "@t3n/eslint-config-typescript" peerDependenciesInstall all the listed peerDependencies as devDependencies in your project.
Usage
In your project's .eslintrc, add the following:
{
"extends": ["@t3n/eslint-config", "@t3n/eslint-config-typescript"]
}