Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions harper-core/src/linting/weir_rules/InOneFellSwoop.weir

This file was deleted.

9 changes: 9 additions & 0 deletions harper-core/src/linting/weir_rules/OneFellSwoop.weir
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
expr main [(one foul swoop), (one fowl swoop)]

let message "Use the correct phrase for something happening suddenly."
let description "Corrects `one foul swoop` to `one fell swoop`, preserving the phrase’s original meaning of sudden and complete action."
let kind "Eggcorn"
let becomes "one fell swoop"

test "I just want to turn OFF all of the Controllers with one foul swoop." "I just want to turn OFF all of the Controllers with one fell swoop."
test "I am trying to delete the image and it's associated thumbnail in one fowl swoop." "I am trying to delete the image and it's associated thumbnail in one fell swoop."