From: Harry Lascelles Date: Wed, 22 Jun 2016 15:27:02 +0000 (+0100) Subject: Add .js.es6 as known filetype X-Git-Tag: v0.1.0~50^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d0d228c978a78ba771e1566949ee936cb2908559;p=github%2Ffretlink%2Fpronto-hlint.git Add .js.es6 as known filetype --- 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 end def js_file?(path) - %w(.js .es6).include? File.extname(path) + %w(.js .es6 .js.es6).include? File.extname(path) end end end