2.2.0 • Published 5 months ago
@mntm/eslint-config v2.2.0
@mntm/eslint-config
ESLint config with TypeScript support.
Installation
We recommend to use yarn for dependency management:
yarn add -D typescript eslint @mntm/eslint-config
Setup
1) Configure ESLint
Add "extends": "@mntm"
to your ESLint config file.
An example .eslintrc
:
{
"extends": "@mntm"
}
2) Configure the ESLint TypeScript parser
This config requires knowledge of your TypeScript config.
In your ESLint config, set parserOptions.project to the path of your tsconfig.json
.
For example:
{
"extends": "@mntm"
+ "parserOptions": {
+ "project": "./tsconfig.json",
+ "tsconfigRootDir": "."
+ }
}
License
@mntm/eslint-config is MIT licensed.
2.2.0
5 months ago
2.1.0
5 months ago
2.0.0
5 months ago
1.4.0
1 year ago
1.3.1
2 years ago
1.3.0
2 years ago
1.2.0
2 years ago
1.1.2
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago
0.4.4
3 years ago
0.4.3
3 years ago
0.3.0
3 years ago
0.3.0-experimental.1
3 years ago
0.3.0-experimental.0
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago
0.4.2
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago