about summary refs log tree commit diff
path: root/src/tools/clippy/util/gh-pages/script.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-07 17:29:24 +0000
committerbors <bors@rust-lang.org>2025-08-07 17:29:24 +0000
commit2fd855fbfc8239285aa2d596f76a8cc75e17ce02 (patch)
treea2ef7755143f1b57755e71a5e0269661fe363e31 /src/tools/clippy/util/gh-pages/script.js
parent321a89bec57b8ca723d1af8f784490b950458c6a (diff)
parent770e6f131d33439143693d8cbd8e52b659b51151 (diff)
downloadrust-2fd855fbfc8239285aa2d596f76a8cc75e17ce02.tar.gz
rust-2fd855fbfc8239285aa2d596f76a8cc75e17ce02.zip
Auto merge of #145056 - flip1995:clippy-subtree-update, r=Manishearth
Clippy subtree update

r? `@Manishearth`

Cargo.lock update due to clippy version bump
Diffstat (limited to 'src/tools/clippy/util/gh-pages/script.js')
-rw-r--r--src/tools/clippy/util/gh-pages/script.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/tools/clippy/util/gh-pages/script.js b/src/tools/clippy/util/gh-pages/script.js
index d3204967531..2b6ee67c37d 100644
--- a/src/tools/clippy/util/gh-pages/script.js
+++ b/src/tools/clippy/util/gh-pages/script.js
@@ -208,6 +208,7 @@ const LEVEL_FILTERS_DEFAULT = {
     allow: true,
     warn: true,
     deny: true,
+    none: true,
 };
 const APPLICABILITIES_FILTER_DEFAULT = {
     Unspecified: true,
@@ -592,20 +593,8 @@ disableShortcutsButton.checked = disableShortcuts;
 
 addListeners();
 highlightLazily();
-
-function updateLintCount() {
-    const allLints = filters.getAllLints().filter(lint => lint.group != "deprecated");
-    const totalLints = allLints.length;
-
-    const countElement = document.getElementById("lint-count");
-    if (countElement) {
-        countElement.innerText = `Total number: ${totalLints}`;
-    }
-}
-
 generateSettings();
 generateSearch();
 parseURLFilters();
 scrollToLintByURL();
 filters.filterLints();
-updateLintCount();