Updated eslint configuration.

 * Add rules based on Drupal 8 eslintrc.
 * Ignore node_modules.
Guarded for-in loops.

@see http://eslint.org/docs/rules/guard-for-in.html