Rule reference

Generated from spec/rules.json (spec version 1) for slopdam 1.0.0. Examples are conformance cases, so every package produces exactly these outputs.

Rules run in the order listed. reader is the default profile. "off" means the rule does not run in that profile; "report" means the linter reports it but nothing is changed.

space.invisible basic

zero-width or invisible character

MatchesZero-width space, ZWNJ, word joiner, BOM, soft hyphen
reader (default)Removed
devRemoved
Pattern
[​‌⁠­]

Examples

input
값U+200B확인
reader
값확인
dev
값확인

space.nbsp basic

non-breaking or ideographic space

MatchesNo-break space, narrow no-break space, ideographic space
reader (default)Space
devSpace
Pattern
[   ]

Examples

input
aU+00A0b
reader
a b
dev
a b
input
SavedU+00A03 rows,U+3000nextU+202Fstep
reader
Saved 3 rows, next step
dev
Saved 3 rows, next step

width.fullwidth basic

full-width punctuation

Matches,:;()!?[]{} on a line with no kana or CJK ideographs
reader (default)Halfwidth
devHalfwidth
Pattern
[,:;()!?[]{}]

Examples

input
결과:성공(3건)
reader
결과:성공(3건)
dev
결과:성공(3건)
input
status:ok(3)
reader
status:ok(3)
dev
status:ok(3)
input
결과:성공(3건)⏎
処理:完了(3件)
reader
결과:성공(3건)⏎
処理:完了(3件)
dev
결과:성공(3건)⏎
処理:完了(3件)

quote.double basic

curly double quote

Matches“ ” „ / ‘ ’ ‚
reader (default)" / ' (\" inside a double-quoted string, so JSON and logfmt stay valid)
devSame as reader
Pattern
[“”„]

Examples

input
“A” — B
reader
"A": B
dev
"A" - B
input
“따옴표” ‘작은’
reader
"따옴표" '작은'
dev
"따옴표" '작은'
input
“Saved” — done
reader
"Saved": done
dev
"Saved" - done

quote.single basic

curly single quote

Matches“ ” „ / ‘ ’ ‚
reader (default)" / ' (\" inside a double-quoted string, so JSON and logfmt stay valid)
devSame as reader
Pattern
[‘’‚]

Examples

input
값 ㅡ ‘인용’
reader
값: '인용'
dev
값 - '인용'
input
“따옴표” ‘작은’
reader
"따옴표" '작은'
dev
"따옴표" '작은'
input
“quoted” ‘single’
reader
"quoted" 'single'
dev
"quoted" 'single'

punct.ellipsis basic

ellipsis character

Matches… ⋯
reader (default)...
dev...
Pattern
[…⋯]

Examples

input
로딩 중…
reader
로딩 중...
dev
로딩 중...
input
Loading…
reader
Loading...
dev
Loading...
input
**重要**:キャッシュを削除しました…
reader
重要:キャッシュを削除しました...
dev
重要:キャッシュを削除しました...

punct.arrow basic

arrow symbol

Matches→ ⇒ ➜ ➡ ⟶ / ← ⇐ ⬅ / ↔ ⇔
reader (default)-> / <- / <->
devSame
Pattern
[↔⇔]️?
[→⇒➜➡➔⟶]️?
[←⇐⬅⟵]️?

Examples

input
A ← B
reader
A <- B
dev
A <- B
input
A → B
reader
A -> B
dev
A -> B
input
A ↔ B
reader
A <-> B
dev
A <-> B

punct.bullet basic

bullet symbol

Matches• ◦ ▪ ● ▶ ► at the start of a line
reader (default)-
dev-
Pattern
^([ 	]*)[•◦▪●▶►][ 	]*

Examples

input
• 항목
reader
- 항목
dev
- 항목
input
▶ 실행
reader
- 실행
dev
- 실행

emoji.status basic

status emoji

Matches✅ ❌ ⚠️ and similar at the start of a message
reader (default)off (emoji.pictograph removes it)
dev[OK] [FAIL] [WARN], omitted when the log level already says it
Pattern
\A[ 	]*([✅✔☑🟢🆗❌✖🔴⛔🚫❎⚠🟡🚨])️?[ 	]*

Examples

optionslog_level=ERROR
input
✅ 저장
reader
저장
dev
[OK] 저장
input
❌ 실패
reader
실패
dev
[FAIL] 실패
input
⚠️ 디스크 부족
reader
디스크 부족
dev
[WARN] 디스크 부족

emoji.pictograph basic

emoji or pictograph

MatchesEmoji and pictographs, ZWJ sequences, variation selectors, keycaps, flags
reader (default)Removed
devRemoved
Pattern
[‼⁉ℹ⌀-⏿Ⓜ■-➿⬀-⯿〰〽㊗㊙🀀-🫿🰀-🿽󠀠-󠁿][‼⁉ℹ⌀-⏿Ⓜ■-➿⬀-⯿〰〽㊗㊙🀀-🫿🰀-🿽󠀠-󠁿️⃣‍]*[ 	]*|[️⃣‍]+

Examples

optionslog_level=ERROR
input
✅ 저장
reader
저장
dev
[OK] 저장
input
❌ 실패
reader
실패
dev
[FAIL] 실패
input
1️⃣ 단계
reader
1 단계
dev
1 단계

dash.hyphen basic

Unicode hyphen or minus

Matches‐ ‑ − ﹣ -
reader (default)-
dev-
Pattern
[‐‑−﹣-]

Examples

input
값-1
reader
값-1
dev
값-1
input
a ‐‐‐ b
reader
a --- b
dev
a --- b

dash.wave basic

wave dash or full-width tilde

Matches〜 ~
reader (default)~
dev~
Pattern
[〜~]

Examples

input
1〜3
reader
1~3
dev
1~3

md.heading basic

markdown heading marker

Matches# to ###### and a space at the start of a line
reader (default)Removed
devRemoved
Pattern
^[ \t]*#{1,6}[ \t]+

Examples

input
### 단계 1
reader
단계 1
dev
단계 1
input
## Step 2
reader
Step 2
dev
Step 2
optionslevel=strong
input
## Here we go: retrying in 3s
reader
Retrying in 3s
dev
Retrying in 3s

md.fence basic

markdown code fence

MatchesA line with a code fence
reader (default)Line removed
devLine removed
Pattern
^[ \t]*```[^\n]*

Examples

input
```
reader
dev
input
```python
reader
dev

md.hr basic

markdown horizontal rule

MatchesA line made only of ---, *** or ___
reader (default)Line removed
devLine removed
Pattern
^[ \t]*([-*_])[ \t]*(?:\1[ \t]*){2,}$

Examples

input
---
reader
dev
input
‐‐‐
reader
dev

md.emphasis basic

markdown bold

Matches**x** (__x__ is not matched because it collides with Python names such as __name__)
reader (default)x
devx
Pattern
\*\*(.+?)\*\*

Examples

input
**중요** 설정 변경
reader
중요 설정 변경
dev
중요 설정 변경
input
**重要**:キャッシュを削除しました…
reader
重要:キャッシュを削除しました...
dev
重要:キャッシュを削除しました...
input
**Important** setting changed
reader
Important setting changed
dev
Important setting changed

dash.run basic

dash, 'ㅡ' or line character

Matches**ㅡ ᅳ ᅳ**, ‒ – — ― ⸺ ⸻ ﹘ ︱ ︲ ⹀, ─ ━ ┄-┋ ╌-╏ ═ ⎯ ⏤ ➖
reader (default)See the table below
devSee the table below
Pattern
([ 	]*)(?<![+|│┃║┆┇┊┋┌┐└┘├┤┬┴┼╔╗╚╝╠╣╦╩╬╒╓╕╖╘╙╛╜╞╟╡╢╤╥╧╨╪╫╭╮╯╰‒–—―⸺⸻﹘︱︲⹀ㅡᅳᅳ─━┄-┋╌-╏═⎯⏤➖])([‒–—―⸺⸻﹘︱︲⹀ㅡᅳᅳ─━┄-┋╌-╏═⎯⏤➖]+)(?![+|│┃║┆┇┊┋┌┐└┘├┤┬┴┼╔╗╚╝╠╣╦╩╬╒╓╕╖╘╙╛╜╞╟╡╢╤╥╧╨╪╫╭╮╯╰‒–—―⸺⸻﹘︱︲⹀ㅡᅳᅳ─━┄-┋╌-╏═⎯⏤➖])([ 	]*)

Examples

input
‒•
reader
-
dev
-
input
3ㅡ5개
reader
3~5개
dev
3-5개
input
‒# 0
reader
0
dev
0

dash.cjk-run basic

CJK look-alike separator

MatchesThree or more 一 ー ー in a row
reader (default)Removed
devRemoved
Pattern
[一ーー]{3,}

Examples

input
一一一一
reader
dev

dash.ascii-run basic

ASCII separator

MatchesFive or more of the same = - * # ~ _ +, not touching + or | (a table border such as +-----+ stays)
reader (default)Removed
devRemoved
Pattern
(?<![=\-*#~_+|])([=\-*#~_+])\1{4,}(?![=\-*#~_+|])

Examples

input
===== 시작 =====
reader
시작
dev
시작
input
========⏎
Title⏎
========
reader
Title
dev
Title

tone.exclaim basic

exclamation after Korean text

Matches! right after Hangul
reader (default).
devoff
Pattern
(?<=[가-힣])!+

Examples

input
저장되었습니다!!
reader
저장되었습니다.
dev
저장되었습니다!!
input
✅ **저장 완료** ㅡ 2024–2025년 데이터 3건 처리했습니다! 🎉
reader
저장 완료: 2024~2025년 데이터 3건 처리했습니다.
dev
[OK] 저장 완료 - 2024-2025년 데이터 3건 처리했습니다!

tone.filler strong

filler phrase

MatchesKorean filler words such as 성공적으로
reader (default)Removed
devreport
Pattern
(?:성공적으로|완벽하게|무사히|드디어)[ \t]*

Examples

optionslevel=strong
input
성공적으로 저장되었습니다
reader
저장되었습니다
dev
성공적으로 저장되었습니다
optionslevel=strong
input
좋은 소식입니다! 성공적으로 배포했습니다
reader
배포했습니다
dev
성공적으로 배포했습니다

tone.chatty strong

chatty opener

MatchesA known opener at the start of a line, before more text: Great news!, Heads up:, 살펴보겠습니다., さて、, 好消息! (about 80 in four languages)
reader (default)Removed, next word capitalized
devRemoved, next word capitalized
Pattern
^([ \t]*(?:\[(?:OK|FAIL|WARN)\][ \t]+)?(?:[-*+][ \t]+|#{1,6}[ \t]+|\d+[.)][ \t]+)?)(?:Great news!|Great news:|Good news!|Good news:|Heads up:|Heads up,|Heads-up:|Just so you know,|Just a heads up:|Quick update:|Status update:|Here's the summary:|Here's a summary:|Here is the summary:|Here's a quick summary:|Here's what happened:|Here is what happened:|Here you go:|Here we go:|Let's go!|Let's see:|Voila!|Voilà!|TL;DR:|TL;DR,|FYI:|FYI,|Hooray!|Yay!|Woohoo!|Huzzah!|Whew!|Phew!|Phew,|Great job!|Nice one!|Awesome!|Fantastic!|Excellent!|Wonderful!|Brilliant!|Good catch!|Guess what\?|Ta-da!|살펴보겠습니다\.|해볼게요\.|해보겠습니다\.|좋은 소식입니다[!.]+|기쁜 소식입니다[!.]+|좋은 소식이 있습니다[!.]+|알려드립니다:|알려 드립니다:|짜잔[!.]+|잘 됐네요[!.]+|잘됐네요[!.]+|멋지네요[!.]+|요약하자면,|정리하자면,|다행스럽게도(?=[ 	])|보시다시피(?=[ 	])|확인해 보니(?=[ 	])|확인해보니(?=[ 	])|さて、|お知らせです[::]|良いニュースです[!!]|朗報です[!!]|まとめると、|結論から言うと、|ご覧の通り、|というわけで、|簡単に言うと、|お待たせしました[!!]|好消息[!!]|总结一下[::]|简单来说[,,]|如你所见[,,]|顺便说一下[,,]|综上所述[,,]|汇报一下[::]|让我们看看。|我来试试。)[ \t]*(?=\S)((?=[a-z]*[aeiouy])[a-z]+(?![\w.\-/:@]))?

Examples

optionslevel=strong
input
总结一下:3个任务失败
reader
3个任务失败
dev
3个任务失败
optionslevel=strong
input
好消息!已索引42篇文档
reader
已索引42篇文档
dev
已索引42篇文档
optionslevel=strong
input
좋은 소식입니다! 배포 완료
reader
배포 완료
dev
배포 완료

tone.chatty basic

chatty phrase

MatchesChatty phrases such as Let's and Here's
reader (default)report
devreport
Pattern
\b(?:Let's|Here's|Voila|Awesome)\b|해볼게요|해보겠습니다|살펴보겠습니다

Examples

input
Let's start
reader
Let's start
dev
Let's start

symbol.non-ascii strict

non-ASCII symbol

MatchesAny symbol that is not a letter, digit, space or ASCII
reader (default)report
devreport
Pattern
[^\w\s-󰀀-󿿽]

Examples

optionslevel=strict
input
Temp 20°C ✅ ok
reader
Temp 20°C ok
dev
Temp 20°C ok

How dash.run decides

A run of dash-like characters is judged by what is next to it.

ContextExamplereaderdev
Two or more in a rowㅡㅡ, ──, ——RemovedRemoved
Between digits, or a digit and a short identifier with a number3ㅡ5, 2024–2025, H1–H5, v1–v3~-
Start of a line, followed by a spaceㅡ item- -
Between words, with or without spacesdone ㅡ next, done—next: (change with --dash-inline) -
An empty cell: after column padding (two spaces or a tab), a | or a }, and before the end of the line, a | or a tab{name:<15} –, | – |, total: –--
Anything else (end of line, next to punctuation)done ㅡ, done ㅡ, next, Status: — pendingRemoved; one space stays if there was one and text follows on both sides (Status: pending)Same

A conjoining ᅳ (U+1173) right after a leading consonant is part of a syllable and is left alone. In Python string literals, placeholders such as %s, {0} and f-string expressions count as words.

Protected spans

No rule touches URLs, inline code in backticks, the value in key=value, or paths that start with /, ./, ../ or ~/. The exception is the message of a logfmt line: the value of a key ending in msg, message or error (msg="✅ Saved — done") is cleaned like any text.

A dash run that touches a table edge (+ | or a box-drawing corner or junction such as ┌ ┬ ┼ ║) is part of a table and is kept, so ┌─────┬─────┐ and |------|------| stay.

After the rules

In a line a rule changed, repeated spaces collapse to one and no space is left before a closing quote ({"msg":"Saved 🎉"} becomes {"msg":"Saved"}). A line no rule changed keeps its spacing, so aligned columns (kubectl get pods, tables) stay as they are. Then leading and trailing spaces and empty lines are removed. If the result is empty, PlainFilter drops the log record.

Checklist for a new rule

  1. Inputs that must be caught.
  2. Inputs that must not be caught (dates such as 2026-11-21, --dry-run, 一般, ㅋㅋ).
  3. Expected output for reader and dev.
  4. The level, and why.
  5. An idempotency case.