aboutsummaryrefslogtreecommitdiff
path: root/table_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 /table_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 'table_parser.go')
-rw-r--r--table_parser.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/table_parser.go b/table_parser.go
index 3a5f56e..4f9c7f8 100644
--- a/table_parser.go
+++ b/table_parser.go
@@ -79,11 +79,6 @@ func (pt *tableParser) toCells() {
tokenTrim = strings.TrimSpace(token)
l = len(tokenTrim)
for {
- // 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 c == '\n' {
if l > 0 {
cell.writeString(token)