@@ -58,7 +58,7 @@ rules[ '@cspell/spellchecker' ] = [ 'warn', {
58
58
'/\\/\\/ returns \'[^\']+\'/g' , // ignore return value annotations
59
59
'/setReadOnly\\( [.a-z0-9]+, \'[^\']+?\'/gi' , // ignore namespace or prototype assignments
60
60
'/```[\\s\\S]+?```/g' , // ignore code blocks
61
- '/[^`]` [^`]+?`[^`] /g' , // ignore inline code
61
+ '/(?<!`) [^`]+?`(?!`) /g' , // ignore inline code
62
62
'/\\\\{2,2}\\([\\s\\S]+?\\\\{2,2}\\)/g' , // ignore LaTeX math expressions
63
63
'/\\[[^\\]]+\\]/g' , // ignore character classes in regular expressions or markdown links
64
64
'/\\/\\/ exports: \\{[^}]+\\}/g' , // ignore export annotations
@@ -67,7 +67,7 @@ rules[ '@cspell/spellchecker' ] = [ 'warn', {
67
67
'/[xy][a-z]+/g' , // lowercase parameters starting with x or y (e.g., xbuf)
68
68
'/[a-z]+[xy]/g' , // lowercase parameters ending with x or y (e.g., meanx)
69
69
'/([\'"`])(.*/.*?)\\1/g' , // ignore file paths
70
- '/\'[-\\w]+\'/g' // ignore single-quoted strings containing only word characters or hyphens
70
+ '/\'[-\\w]+? \'/g' // ignore single-quoted strings containing only word characters or hyphens
71
71
] ,
72
72
'words' : [
73
73
'BLAS' ,
0 commit comments