diff options
author | Markus Doits <markus.doits@stellenticket.de> | 2016-04-09 13:57:40 +0200 |
---|---|---|
committer | Markus Doits <markus.doits@stellenticket.de> | 2016-04-09 13:57:40 +0200 |
commit | 347e6ab774cd401e437450fc93504b78bf90d748 (patch) | |
tree | 1855577cd9ebf604de1f934129e0e7f57c3a3c80 | |
parent | d0305a09208be0683f587f1b5f40d7513cff43c7 (diff) | |
download | pronto-hlint-347e6ab774cd401e437450fc93504b78bf90d748.tar.gz pronto-hlint-347e6ab774cd401e437450fc93504b78bf90d748.tar.zst pronto-hlint-347e6ab774cd401e437450fc93504b78bf90d748.zip |
add es6 suffix to lint
-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 |