For node project use eslint-config-dacz-node
My eslint config (moving target, changes often).
It's based on my personal preference.
npm install --save-dev eslint-config-dacz eslint
- add
"extends": "dacz"
to your .eslintrc.js
This is my eslintrc.js
:
module.exports = {
extends: 'dacz',
rules: {},
};
For node project use eslint-config-dacz-node
I like immutability and simplicity so I add/remove rules to enforce it.
I prefer pure functional components in React to allow recompose (and other tools) to optimize them, I kicked off the propTypes checking. Maybe I'll start using flow one day :)