A base .eslintrc
containing the set of rules I like to use for my JavaScript projects.
npm install eslint-config-rsnara eslint --save-dev
For new projects, the following should suffice:
echo '{\n "extends": "rsnara"\n}' > ./.eslintrc
For more details, please read the eslint docs on Shareable Configs.