@wemake-services/eslint-config-typescript
Shareable configuration for eslint
and typescript
.
The main idea of this configuration is to be:
- Highly opinionated (!)
- Strict about syntax and secure by default
- Enforces best-practices
The ultimate goal of this project is to become the strictest config available.
Installation
npm install --save-dev @wemake-services/eslint-config-typescript
Then, modify your eslint
configuration:
{
"extends": [
"@wemake-services/typescript/recommended"
]
}
You have three options to choose from:
-
recommended
which contains the best amount of rules -
base
which contains the most important ones -
strict
which contains rules that requiretypescript
build (slow, but good!)
Done! Later you can modify your configuration to include any extra rules you need.
License
MIT.