// Temporarily disabled rules
"array-element-newline": "off",
- "consistent-this": "off",
"func-style": "off",
"function-paren-newline": "off",
"line-comment-position": "off",
"max-lines-per-function": "off",
"no-inline-comments": "off",
"no-invalid-this": "off",
- "no-underscore-dangle": "off",
- "one-var-declaration-per-line": "off",
"sort-keys": "off",
"sort-vars": "off"
}
}
function initHistoryTable(rspamd, tables, data, items) {
+ /* eslint-disable consistent-this, no-underscore-dangle, one-var-declaration-per-line */
FooTable.actionFilter = FooTable.Filtering.extend({
construct: function (instance) {
this._super(instance);
}
}
});
+ /* eslint-enable consistent-this, no-underscore-dangle, one-var-declaration-per-line */
tables.history = FooTable.init("#historyTable", {
columns: get_history_columns(data),
success: function (json) {
var data = json[0].data;
var items = process_symbols_data(data);
+
+ /* eslint-disable consistent-this, no-underscore-dangle, one-var-declaration-per-line */
FooTable.groupFilter = FooTable.Filtering.extend({
construct: function (instance) {
this._super(instance);
}
}
});
+ /* eslint-enable consistent-this, no-underscore-dangle, one-var-declaration-per-line */
+
tables.symbols = FooTable.init("#symbolsTable", {
columns: [
{sorted:true, direction:"ASC", name:"group", title:"Group", style:{"font-size":"11px"}},