Skip to content

Commit

Permalink
Add typos rule (#15)
Browse files Browse the repository at this point in the history
* Add typos rule

Signed-off-by: Frank Harkins <[email protected]>

* Add "open source" rule

---------

Signed-off-by: Frank Harkins <[email protected]>
  • Loading branch information
frankharkins authored Aug 21, 2023
1 parent a2fd971 commit 0e9bb03
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions IBMQuantum/CommonTypos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# For words that are probably typos (in quantum computing), but aren't caught
# by the spell check
extends: substitution
message: "Did you mean '%s' instead of '%s'?"
ignorecase: true
level: warning
action:
name: replace
swap:
Shore: Shor
Grove: Grover
open source: open-source

0 comments on commit 0e9bb03

Please sign in to comment.