2.0.1 • Published 4 years ago
eslint-config-mk v2.0.1
ESLint configuration for MK apps
Set of rules for React / Typescript apps for MK environment
Installation
1) Make sure to have the install-peerdeps globally installed.
2) Add the ESLint configuration to a project with the following command:
install-peerdeps eslint-config-mk --dev
3) Create a .eslintrc
file in the root of the project with the following content:
{
"extends": "eslint-config-mk"
}
4) Add the following scripts to the package.json
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
5) Profit