mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Tweak JSLint options
(imported from commit 7e7582a48228b879ea29c2a27eb22e46e093f9dc)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true */
|
||||
plusplus: true, white: true */
|
||||
/*global $: false */
|
||||
|
||||
function autofocus(selector) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true */
|
||||
/*global $: false */
|
||||
plusplus: true, white: true */
|
||||
/*global $: false, report_error: false, class_list: false */
|
||||
|
||||
var status_classes = 'alert-error alert-success alert-info';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true */
|
||||
plusplus: true, white: true */
|
||||
/*global $: false */
|
||||
|
||||
/* WARNING:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true */
|
||||
/*global $: false */
|
||||
plusplus: true, white: true */
|
||||
/*global $: false, narrowed: false */
|
||||
|
||||
function get_next_visible(zephyr_row) {
|
||||
if (zephyr_row === undefined)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true */
|
||||
/*global $: false */
|
||||
/*global $: false, email: false */
|
||||
|
||||
// Narrowing predicate, or 'false' for the home view.
|
||||
var narrowed = false;
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, white: true, undef: true,
|
||||
regexp: true */
|
||||
/*global $: false */
|
||||
plusplus: true, white: true, regexp: true */
|
||||
/*global $: false, jQuery: true,
|
||||
Spinner: true, Handlebars: true,
|
||||
have_initial_messages: true, */
|
||||
|
||||
// Miscellaneous early setup.
|
||||
// This is the first of our Javascript files to be included.
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
/*jslint browser: true, devel: true, sloppy: true,
|
||||
plusplus: true, nomen: true, regexp: true,
|
||||
white: true, undef: true */
|
||||
/*global $: false, jQuery: false, Handlebars: false,
|
||||
zephyr_json: false, initial_pointer: false, email: false,
|
||||
plusplus: true, nomen: true, white: true, undef: true */
|
||||
/*global $: false, initial_pointer: false, email: false,
|
||||
class_list: false, instance_list: false, people_list: false,
|
||||
have_initial_messages: false, narrowed: false,
|
||||
autocomplete_needs_update: true */
|
||||
narrowed: false, autocomplete_needs_update: true */
|
||||
|
||||
var zephyr_array = [];
|
||||
var zephyr_dict = {};
|
||||
|
||||
Reference in New Issue
Block a user