aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/history.js
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-09-22 10:41:32 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-09-22 10:43:34 +0300
commita9ef733f69c24eba8599c85a5486637d3bda4317 (patch)
tree513909d808bfdedc20017a8fa34b20e338fd25aa /interface/js/app/history.js
parent5fc95db5da1f3f099bd6be53dea965bcea669307 (diff)
downloadrspamd-a9ef733f69c24eba8599c85a5486637d3bda4317.tar.gz
rspamd-a9ef733f69c24eba8599c85a5486637d3bda4317.zip
[Test] Enable some ESLint rules
Diffstat (limited to 'interface/js/app/history.js')
-rw-r--r--interface/js/app/history.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js
index 68e66924e..f82925b26 100644
--- a/interface/js/app/history.js
+++ b/interface/js/app/history.js
@@ -511,6 +511,7 @@ define(["jquery", "footable", "humanize"],
}
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);
@@ -568,6 +569,7 @@ define(["jquery", "footable", "humanize"],
}
}
});
+ /* eslint-enable consistent-this, no-underscore-dangle, one-var-declaration-per-line */
tables.history = FooTable.init("#historyTable", {
columns: get_history_columns(data),