2.1.0 • Published 2 years ago
eslint-config-kwcon v2.1.0
eslint-config-kwcon
Description
This repository is home for ESLint config file used across all Consumer projects
Usage
Run:
npx install-peerdeps --dev eslint-config-kwcon
then create or edit .eslintrc file in the project to:
{
"extends": ["eslint-config-kwcon"]
}
as a final step make sure your scripts have lint commands:
"scripts": {
"lint": "eslint --format stylish \"./**/*.js\"",
"lint:fix": "eslint --fix --format stylish \"./**/*.js\""
}
Good luck!