diff options
author | Jerome Dalbert <jerome.dalbert@gmail.com> | 2016-09-11 17:13:47 +0200 |
---|---|---|
committer | Jerome Dalbert <jerome.dalbert@gmail.com> | 2016-09-11 20:00:24 +0200 |
commit | 212da35bb8529609e3d3aa1ce643ce1551ec36ea (patch) | |
tree | 6a8fe1a21ab09af492f4f661e3d604a7601c156c /lib/pronto | |
parent | cf6aab4b07d51f2d5f83609ab7112ee9ed5bd1b2 (diff) | |
download | pronto-hlint-212da35bb8529609e3d3aa1ce643ce1551ec36ea.tar.gz pronto-hlint-212da35bb8529609e3d3aa1ce643ce1551ec36ea.tar.zst pronto-hlint-212da35bb8529609e3d3aa1ce643ce1551ec36ea.zip |
Load YAML configuration correctly
Diffstat (limited to 'lib/pronto')
-rw-r--r-- | lib/pronto/eslint_npm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pronto/eslint_npm.rb b/lib/pronto/eslint_npm.rb index 9ff7df5..bb79091 100644 --- a/lib/pronto/eslint_npm.rb +++ b/lib/pronto/eslint_npm.rb | |||
@@ -4,7 +4,7 @@ require 'shellwords' | |||
4 | module Pronto | 4 | module Pronto |
5 | class ESLintNpm < Runner | 5 | class ESLintNpm < Runner |
6 | CONFIG_FILE = '.pronto_eslint_npm.yml'.freeze | 6 | CONFIG_FILE = '.pronto_eslint_npm.yml'.freeze |
7 | CONFIG_KEYS = %i(eslint_executable files_to_lint).freeze | 7 | CONFIG_KEYS = %w(eslint_executable files_to_lint).freeze |
8 | 8 | ||
9 | attr_writer :eslint_executable | 9 | attr_writer :eslint_executable |
10 | 10 | ||