aboutsummaryrefslogtreecommitdiff
path: root/inline_parser.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-02-18 21:09:43 +0700
committerShulhan <ms@kilabit.info>2025-02-18 21:09:43 +0700
commitb966bc52b9ecc62be830c14882ea93085c08556d (patch)
tree3dc355867f596d09fe332b598805c37606decc8e /inline_parser.go
parent34a421761567ad0e711673c6e4ef63d9c1840d5a (diff)
downloadasciidoctor-go-b966bc52b9ecc62be830c14882ea93085c08556d.tar.xz
all: remove the "nolint" tag
The nolint tag is to ignore being linted by golangci-lint. Since we are not using golangci-lint anymore, we can remove it.
Diffstat (limited to 'inline_parser.go')
-rw-r--r--inline_parser.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/inline_parser.go b/inline_parser.go
index 561cab7..84fae21 100644
--- a/inline_parser.go
+++ b/inline_parser.go
@@ -74,11 +74,6 @@ func (pi *inlineParser) do() {
continue
}
- // We use if-condition with "continue" to break and continue
- // the for-loop, so it is not possible to use switch-case
- // here.
- //
- //nolint:gocritic
if pi.c == '+' {
if pi.isEscaped {
pi.escape()
@@ -257,11 +252,6 @@ func (pi *inlineParser) do() {
continue
}
- // We use if-condition with "continue" to break and
- // continue the for-loop, so it is not possible
- // to use switch-case here.
- //
- //nolint:gocritic
if pi.nextc == '<' {
if pi.parseCrossRef() {
continue