commit 4d10f4e: [Minor] Disallow padding within blocks

moisseev moiseev at mezonplus.ru
Mon Jul 29 17:49:07 UTC 2024


Author: moisseev
Date: 2023-11-20 14:25:09 +0300
URL: https://github.com/rspamd/rspamd/commit/4d10f4efe643a84da936f29d48cc28ad70803ab0

[Minor] Disallow padding within blocks

---
 .eslintrc.json             | 2 +-
 interface/js/app/rspamd.js | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.eslintrc.json b/.eslintrc.json
index cc08714b5..5e72d5e43 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -54,7 +54,7 @@
         "@stylistic/newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }],
         "@stylistic/no-extra-parens": ["error", "functions"],
         "@stylistic/object-property-newline": ["error", { "allowAllPropertiesOnSameLine": true }],
-        "@stylistic/padded-blocks": "off",
+        "@stylistic/padded-blocks": ["error", "never"],
         "@stylistic/quote-props" : ["error", "consistent-as-needed"],
         "@stylistic/quotes": ["error", "double", { "avoidEscape": true }],
         "@stylistic/semi": ["error", "always"],
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index 61ce4c56a..26bd6c40d 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -276,7 +276,6 @@ function ($, NProgress) {
 
             if (changeTablePageSize &&
                 $("#historyTable_" + table + " tbody").is(":parent")) { // Table is not empty
-
                 clearTimeout(pageSizeTimerId);
                 const t = FooTable.get("#historyTable_" + table);
                 if (t) {


More information about the Commits mailing list