-
Notifications
You must be signed in to change notification settings - Fork 313
Expand file tree
/
Copy path.codespellrc
More file actions
28 lines (25 loc) · 1.59 KB
/
Copy path.codespellrc
File metadata and controls
28 lines (25 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Configuration for codespell (https://github.com/codespell-project/codespell)
#
# This file is picked up automatically when running `codespell` from the
# repository root, so both local runs and the GitHub Actions workflow
# (.github/workflows/codespell.yml) share the same settings.
#
# The custom dictionary is NOT listed here because codespell cannot merge a
# custom dictionary with its built-in one through the config file. It is passed
# on the command line instead via `-D - -D .codespell/dictionary.txt`.
[codespell]
# Directories and file types to skip when codespell walks the tree (e.g. a bare
# `codespell` run). This does NOT affect files passed explicitly on the command
# line, such as the `git ls-files '*.md'` list used by the workflow. The SVG
# assets are skipped because their embedded path/font data causes false positives.
skip = ./.git,./_build,./.build,./.venv,./venv,*.svg,*.svgz,*.png,*.jpg,*.jpeg,*.gif,*.pdf,*.css,*.js,*.json
# Correctly-spelled words that look like typos (proper nouns, product names).
ignore-words = .codespell/ignore-words.txt
# Built-in dictionaries to load. These back the `-D -` argument used by the
# workflow command (`-D -` means "use the builtin dictionaries selected here").
# `clear` = unambiguous typos and `rare` = uncommon typos; both are high signal.
# `informal` and `code` are intentionally left out: on this technical
# documentation they only produced false positives (e.g. "UIs", "Sur" as in
# macOS Big Sur, "lets"). To see every available dictionary, see
# https://github.com/codespell-project/codespell/tree/main/codespell_lib/data
builtin = clear,rare