add .eslintrc and .npmignore and minor linting updates