lint: Require folding of } on same line in else if statements.

This commit is contained in:
Tim Abbott
2016-06-09 14:05:34 -07:00
parent c35781d505
commit 584887e588
7 changed files with 13 additions and 22 deletions

View File

@@ -107,8 +107,7 @@ exports.build_widget = function (
input_error.text('File size must be < 5Mb.');
input_error.show();
clear();
}
else if (!is_image_format(file)) {
} else if (!is_image_format(file)) {
input_error.text('File type is not supported.');
input_error.show();
clear();
@@ -193,8 +192,7 @@ exports.build_direct_upload_widget = function (
input_error.text('File size must be < 5Mb.');
input_error.show();
clear();
}
else if (!is_image_format(file)) {
} else if (!is_image_format(file)) {
input_error.text('File type is not supported.');
input_error.show();
clear();