@mediamonks/eslint-config-base 
This package provides a Base TypeScript eslint configuration as an extensible shared config, based on the MediaMonks Coding Standards.
Installation
The configuration has a number of peer dependencies that must be installed.
npm i --dev @mediamonks/eslint-config-base
Note for yarn
users: yarn
does not install peer dependencies by default, this can be supplemented with install-peerdeps
.
npx install-peerdeps --dev @mediamonks/eslint-config-base
Usage
Now you can add @mediamonks/eslint-config-base
to your .eslintrc
. Adding parserOptions.project
is only required if your project is using TypeScript.
{
"extends": "@mediamonks/eslint-config-base",
"parserOptions": {
"project": "./tsconfig.json"
}
}
Formatting & Prettier
This eslint configuration purposely had its formatting rules disabled. We encourage to use prettier for formatting using the @mediamonks/prettier-config
.