Skip to content

Commit 871f121

Browse files
gmtatrflynn89
authored andcommitted
Everywhere: Validate // NOTE: ... and // NB: ... comments
1 parent 8a02161 commit 871f121

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Libraries/LibWeb/Crypto/CryptoAlgorithms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ struct RsaKeyGenParams : public AlgorithmParams {
146146
}
147147

148148
u32 modulus_length;
149-
// NOTE that the raw data is going to be in Big Endian u8[] format
149+
// NOTE: The raw data is going to be in Big Endian u8[] format
150150
::Crypto::UnsignedBigInteger public_exponent;
151151

152152
static JS::ThrowCompletionOr<NonnullOwnPtr<AlgorithmParams>> from_value(JS::VM&, JS::Value);

Meta/check-style.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
SINGLE_PAGE_HTML_SPEC_LINK = re.compile("//.*https://html\\.spec\\.whatwg\\.org/#")
5959

6060
# We similarily check and disallow AD-HOCs and FIXMEs that aren't followed by a colon.
61-
INVALID_AD_HOC_OR_FIXME = re.compile(r'^(?:[\s\d./\-(*]+(?:AD-HOC|FIXME)[^:]|.*"FIXME[^:"]).*$', re.MULTILINE)
61+
INVALID_AD_HOC_OR_FIXME = re.compile(r'^(?:[\s\d./\-(*]+(?:AD-HOC|FIXME|NB|NOTE)[^:]|.*"FIXME[^:"]).*$', re.MULTILINE)
6262

6363

6464
def should_check_file(filename):

0 commit comments

Comments
 (0)