switch to YAML syntax for .eslintrc and add documentation