aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/pronto
diff options
context:
space:
mode:
authorHarry Lascelles <github@hlascelles.com>2016-06-22 16:27:02 +0100
committerHarry Lascelles <github@hlascelles.com>2016-06-22 16:27:02 +0100
commitd0d228c978a78ba771e1566949ee936cb2908559 (patch)
tree7ba7b6ed7297c673821a9b3acd7324949f1ea216 /lib/pronto
parent75960b01c9badcb773cc6e2bb14c5b0687e7108c (diff)
downloadpronto-hlint-d0d228c978a78ba771e1566949ee936cb2908559.tar.gz
pronto-hlint-d0d228c978a78ba771e1566949ee936cb2908559.tar.zst
pronto-hlint-d0d228c978a78ba771e1566949ee936cb2908559.zip
Add .js.es6 as known filetype
Diffstat (limited to 'lib/pronto')
-rw-r--r--lib/pronto/eslint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pronto/eslint.rb b/lib/pronto/eslint.rb
index 0de31b2..498df63 100644
--- a/lib/pronto/eslint.rb
+++ b/lib/pronto/eslint.rb
@@ -30,7 +30,7 @@ module Pronto
30 end 30 end
31 31
32 def js_file?(path) 32 def js_file?(path)
33 %w(.js .es6).include? File.extname(path) 33 %w(.js .es6 .js.es6).include? File.extname(path)
34 end 34 end
35 end 35 end
36end 36end