@mediamonks/eslint-config-typescript
v1.6.0
Published
Sharable eslint config based on Media.Monks Frontend Coding Standards
Downloads
2,520
Readme
Media.Monks - eslint-config-typescript
The official Media.Monks eslint configuration, based on the Frontend Coding Standards.
Installation
The configuration can be installed via npm
.
npm install --dev @mediamonks/eslint-config-typescript
To inform eslint of this configuration, you have to add the eslint
property to your package.json
file:
"eslintConfig": {
"extends": "@mediamonks/eslint-config-typescript",
"parserOptions": {
"project": "./tsconfig.json"
}
}
Instead of manually editing your package.json
, you can also utilize the npm pkg
subcommand:
npm pkg set eslintConfig.extends=@mediamonks/eslint-config-typescript