[lintian] 01/01: Avoid false-positives in Jush's syntax highlighting definition files.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit 88df93d6bd9deefdf52437aeeaa694adc5bd0ed6
Author: Chris Lamb <lamby@debian.org>
Date: Thu Feb 15 11:18:46 2018 +0000
Avoid false-positives in Jush's syntax highlighting definition files.
---
checks/cruft.pm | 5 +++++
debian/changelog | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/checks/cruft.pm b/checks/cruft.pm
index bfe551d..9e61cfe 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -1023,6 +1023,11 @@ sub _search_in_block0 {
elsif ($block =~ m/css_browser_selector\(/) {
return;
}
+ # Avoid false-positives in Jush's syntax highlighting definition files.
+ elsif ($block =~ m/jush\.tr\./) {
+ return;
+ }
+
# now search hidden minified
_linelength_test($entry, $info, $name, $basename, $dirname,$block);
}
diff --git a/debian/changelog b/debian/changelog
index 97c9a02..3cf66f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,10 @@ lintian (2.5.76) UNRELEASED; urgency=medium
XXX: generate tag summary
+ * checks/cruft.pm:
+ + [CL] Avoid false-positives in Jush's syntax highlighting definition
+ files.
+
* debian/source/lintian-overrides:
+ [CL] Drop all the overrides for Lintian titself now that we use the
<!nocheck> build profile for the previously-spurious warnings.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: