]> git.immae.eu Git - github/fretlink/pronto-hlint.git/commitdiff
Add .js.es6 as known filetype
authorHarry Lascelles <github@hlascelles.com>
Wed, 22 Jun 2016 15:27:02 +0000 (16:27 +0100)
committerHarry Lascelles <github@hlascelles.com>
Wed, 22 Jun 2016 15:27:02 +0000 (16:27 +0100)
lib/pronto/eslint.rb

index 0de31b2148bdea31183a82fac2cc65ca8e832e40..498df63733f474bb26a107e256b60921bf0362bb 100644 (file)
@@ -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