]> git.immae.eu Git - github/fretlink/pronto-hlint.git/blobdiff - README.md
added ability to set config opts to eslint (#9)
[github/fretlink/pronto-hlint.git] / README.md
index f5b0d5e71366c466df985685bbfd6d97dd6992fc..508080ba720f20329ca05eacec31cb14b48b9ecb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ Following options are available:
 | ----------------- | ---------------------------------------------------------------------------------------- | ----------------------------------- |
 | eslint_executable | ESLint executable to call.                                                               | `eslint` (calls `eslint` in `PATH`) |
 | files_to_lint     | What files to lint. Absolute path of offending file will be matched against this Regexp. | `(\.js|\.es6)$`                     |
+| cmd_line_opts     | Command line options to pass to eslint when running                                      | ''                                  |
 
 Example configuration to call custom eslint executable and only lint files ending with `.my_custom_extension`:
 
@@ -41,4 +42,5 @@ Example configuration to call custom eslint executable and only lint files endin
 # .pronto_eslint_npm.yml
 eslint_executable: '/my/custom/node/path/.bin/eslint'
 files_to_lint: '\.my_custom_extension$'
+cmd_line_opts: '--ext .html,.js,.es6'
 ```