diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,6 +34,7 @@ Following options are available: | |||
34 | | ----------------- | ---------------------------------------------------------------------------------------- | ----------------------------------- | | 34 | | ----------------- | ---------------------------------------------------------------------------------------- | ----------------------------------- | |
35 | | eslint_executable | ESLint executable to call. | `eslint` (calls `eslint` in `PATH`) | | 35 | | eslint_executable | ESLint executable to call. | `eslint` (calls `eslint` in `PATH`) | |
36 | | files_to_lint | What files to lint. Absolute path of offending file will be matched against this Regexp. | `(\.js|\.es6)$` | | 36 | | files_to_lint | What files to lint. Absolute path of offending file will be matched against this Regexp. | `(\.js|\.es6)$` | |
37 | | cmd_line_opts | Command line options to pass to eslint when running | '' | | ||
37 | 38 | ||
38 | Example configuration to call custom eslint executable and only lint files ending with `.my_custom_extension`: | 39 | Example configuration to call custom eslint executable and only lint files ending with `.my_custom_extension`: |
39 | 40 | ||
@@ -41,4 +42,5 @@ Example configuration to call custom eslint executable and only lint files endin | |||
41 | # .pronto_eslint_npm.yml | 42 | # .pronto_eslint_npm.yml |
42 | eslint_executable: '/my/custom/node/path/.bin/eslint' | 43 | eslint_executable: '/my/custom/node/path/.bin/eslint' |
43 | files_to_lint: '\.my_custom_extension$' | 44 | files_to_lint: '\.my_custom_extension$' |
45 | cmd_line_opts: '--ext .html,.js,.es6' | ||
44 | ``` | 46 | ``` |