aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorJerome Dalbert <jerome.dalbert@gmail.com>2016-09-11 17:13:47 +0200
committerJerome Dalbert <jerome.dalbert@gmail.com>2016-09-11 20:00:24 +0200
commit212da35bb8529609e3d3aa1ce643ce1551ec36ea (patch)
tree6a8fe1a21ab09af492f4f661e3d604a7601c156c /lib
parentcf6aab4b07d51f2d5f83609ab7112ee9ed5bd1b2 (diff)
downloadpronto-hlint-212da35bb8529609e3d3aa1ce643ce1551ec36ea.tar.gz
pronto-hlint-212da35bb8529609e3d3aa1ce643ce1551ec36ea.tar.zst
pronto-hlint-212da35bb8529609e3d3aa1ce643ce1551ec36ea.zip
Load YAML configuration correctly
Diffstat (limited to 'lib')
-rw-r--r--lib/pronto/eslint_npm.rb2
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'
4module Pronto 4module 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