add .eslintrc

as suggested by @pdehaan in #311