aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/pronto/eslint_npm.rb
diff options
context:
space:
mode:
authorMarkus Doits <doits@users.noreply.github.com>2016-09-11 20:02:51 +0200
committerGitHub <noreply@github.com>2016-09-11 20:02:51 +0200
commitac3a81542973c21a60a265dfe1c33cc765e1bce5 (patch)
tree6a8fe1a21ab09af492f4f661e3d604a7601c156c /lib/pronto/eslint_npm.rb
parentcf6aab4b07d51f2d5f83609ab7112ee9ed5bd1b2 (diff)
parent212da35bb8529609e3d3aa1ce643ce1551ec36ea (diff)
downloadpronto-hlint-ac3a81542973c21a60a265dfe1c33cc765e1bce5.tar.gz
pronto-hlint-ac3a81542973c21a60a265dfe1c33cc765e1bce5.tar.zst
pronto-hlint-ac3a81542973c21a60a265dfe1c33cc765e1bce5.zip
Merge pull request #3 from VicinityCommerce/load-yaml-config-correctly
Fix parsing of yaml keys from config Keys are strings now, and not symbols.
Diffstat (limited to 'lib/pronto/eslint_npm.rb')
-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