]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Disallow padding within blocks
authormoisseev <moiseev@mezonplus.ru>
Mon, 20 Nov 2023 11:25:09 +0000 (14:25 +0300)
committermoisseev <moiseev@mezonplus.ru>
Mon, 20 Nov 2023 11:25:09 +0000 (14:25 +0300)
.eslintrc.json
interface/js/app/rspamd.js

index cc08714b57a6878074143eb96d88287a977da053..5e72d5e43047e62edb19d63b264a8f3ed1597be4 100644 (file)
@@ -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"],
index 61ce4c56a91507ee261ce3ad1ad51d1bece19de5..26bd6c40db5456705ef43e2ec18b59ad61eed01f 100644 (file)
@@ -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) {