From 0e9bb03e0e875b3e10bcb3a79ad7413cb12ac0df Mon Sep 17 00:00:00 2001 From: Frank Harkins Date: Mon, 21 Aug 2023 12:32:02 +0100 Subject: [PATCH] Add typos rule (#15) * Add typos rule Signed-off-by: Frank Harkins * Add "open source" rule --------- Signed-off-by: Frank Harkins --- IBMQuantum/CommonTypos.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 IBMQuantum/CommonTypos.yml diff --git a/IBMQuantum/CommonTypos.yml b/IBMQuantum/CommonTypos.yml new file mode 100644 index 0000000..67ed08e --- /dev/null +++ b/IBMQuantum/CommonTypos.yml @@ -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