From d0d228c978a78ba771e1566949ee936cb2908559 Mon Sep 17 00:00:00 2001 From: Harry Lascelles Date: Wed, 22 Jun 2016 16:27:02 +0100 Subject: Add .js.es6 as known filetype --- lib/pronto/eslint.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3