Skip to content

Commit 281df2b

Browse files
committed
chore: add typos
1 parent e8285ab commit 281df2b

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
# formatting and linting tools
2828
similarity
2929
nixfmt-rfc-style
30+
typos
31+
typos-lsp
3032
];
3133

3234
shellHook = ''

typos.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[default]
2+
locale = 'en-us'
3+
extend-ignore-re = [
4+
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
5+
"(?s)<!--\\s*spellchecker:off.*?\\n\\s*spellchecker:on\\s*-->",
6+
"(?Rm)^.*#\\s*spellchecker:disable-line$",
7+
"(?m)^.*<!--\\s*spellchecker:disable-line\\s*-->\\n.*$"
8+
]
9+
10+
[files]
11+
extend-exclude = [
12+
"node_modules",
13+
"package.json",
14+
"pnpm-lock.yaml",
15+
"pnpm-workspace.yaml",
16+
]

0 commit comments

Comments
 (0)