aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index f5b0d5e..508080b 100644
--- a/README.md
+++ b/README.md
@@ -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
38Example configuration to call custom eslint executable and only lint files ending with `.my_custom_extension`: 39Example 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
42eslint_executable: '/my/custom/node/path/.bin/eslint' 43eslint_executable: '/my/custom/node/path/.bin/eslint'
43files_to_lint: '\.my_custom_extension$' 44files_to_lint: '\.my_custom_extension$'
45cmd_line_opts: '--ext .html,.js,.es6'
44``` 46```