Skip to content

Commit a53c28e

Browse files
committed
add no-spell-check marker and exempt two intentional spelling mistakes
1 parent 1b7a19d commit a53c28e

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/actions/spelling/patterns.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@
3434

3535
# ignore urls
3636
https?://[-+0-9a-zA-Z?&=_\/%.]*
37+
38+
# ignore lines with this code comment
39+
^.*-- no-spell-check$

run-codeworld-tasks/app/Main.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ instance Read Mode where
6464
readPrec = lift $ do
6565
void $ char 's' +++ char 'S'
6666
choice [
67-
string "ubmission" >> pure Submission,
68-
string "olution" >> pure Solution
67+
string "ubmission" >> pure Submission, -- no-spell-check
68+
string "olution" >> pure Solution -- no-spell-check
6969
]
7070

7171

0 commit comments

Comments
 (0)