Hemera eslint config. The perfect match to work with Prettier, Mocha and Node.
npm install --save-dev eslint eslint-config-hemera
.eslintrc.json
{
"extends": "hemera"
}
{
"lint": "eslint \"./**/*.js\"",
"lint:fix": "eslint --fix \"./**/*.js\"",
"format": "prettier \"./**/*.js\"",
"format:fix": "prettier \"./**/*.js\" --write",
}
- vscode
- Use eslint to find lint issues.
- Use prettier-vscode to automatically format your code.