ESLint

Review JavaScript with Hound

Scott avatar
Written by Scott
Updated over a week ago

Hound uses ESLint (v4.18.2)with this config by default.

To enable ESLint style checking just add the following to your .hound.yml

eslint:
  enabled: true

To change the way ESLint is configured simply add .eslintrc file to your project, specify your desired configuration and reference the file in your .hound.yml

We currently only support JSON or YAML formats for .eslintrc since we parse and merge configs.

eslint:
  enabled: true
  config_file: .eslintrc

Check out the ESLint docs for more information on configuring ESLint rules.

To ignore certain files and directories, add .eslintignore file to your project and include in it path patterns for files/directories that you want ignored then reference the ignore file in your .hound.yml . See linter docs for more info.

eslint:
  ignore_file: .eslintignore
Did this answer your question?