lint: Add dangling commas in JavaScript objects.

This commit is contained in:
Tim Abbott
2017-01-11 15:17:43 -08:00
parent 7ca2d21d97
commit 998dff9e50
63 changed files with 302 additions and 302 deletions

View File

@@ -18,7 +18,7 @@ var bugdown_re = [
/[^\s]*(?:\.bmp|\.gif|\.jpg|\.jpeg|\.png|\.webp)\s+/m,
/[^\s]*(?:\.bmp|\.gif|\.jpg|\.jpeg|\.png|\.webp)$/m,
// Twitter and youtube links are given previews
/[^\s]*(?:twitter|youtube).com\/[^\s]*/
/[^\s]*(?:twitter|youtube).com\/[^\s]*/,
];
exports.contains_bugdown = function contains_bugdown(content) {
@@ -417,7 +417,7 @@ $(function () {
function disable_markdown_regex(rules, name) {
rules[name] = {exec: function () {
return false;
}
},
};
}
@@ -500,7 +500,7 @@ $(function () {
streamHandler: handleStream,
realmFilterHandler: handleRealmFilter,
renderer: r,
preprocessors: [preprocess_code_blocks]
preprocessors: [preprocess_code_blocks],
});
function on_failed_action(action, callback) {