diff --git a/lint-files.js b/lint-files.js
index <HASH>..<HASH> 100644
--- a/lint-files.js
+++ b/lint-files.js
@@ -51,7 +51,7 @@ LintFiles.prototype = {
 			if (endsWith.call(name, '.' + this.fileExt)) {
 				return this.checkIsIgnored(name);
 			}
-			if (reNoExt.test(name)) {
+			if ((this.fileExt === 'js') && reNoExt.test(name)) {
 				return this.checkSheBang(name)(function (isNodeScript) {
 					return isNodeScript ? this.checkIsIgnored(name) : null;
 				});
Check sheBang only in case of JS files