diff options
Diffstat (limited to 'lib/pronto/eslint.rb')
-rw-r--r-- | lib/pronto/eslint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pronto/eslint.rb b/lib/pronto/eslint.rb index b6ccff1..0de31b2 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 | File.extname(path) == '.js' | 33 | %w(.js .es6).include? File.extname(path) |
34 | end | 34 | end |
35 | end | 35 | end |
36 | end | 36 | end |