@mediamonks/eslint-config-typescript-react
v1.5.0
Published
Sharable eslint config based on Media.Monks Frontend Coding Standards
Downloads
2,508
Readme
Media.Monks - eslint-config-typescript-react
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-react
To inform eslint of this configuration, you have to add the eslint
property to your package.json
file:
"eslintConfig": {
"extends": "@mediamonks/eslint-config-typescript-react",
"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-react