Skip to content

Commit

Permalink
Add codespeel
Browse files Browse the repository at this point in the history
  • Loading branch information
bobleesj committed Oct 27, 2024
1 parent 1c5a1c7 commit e7b2d80
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .codespell/ignore_lines.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
;; Please include filenames and explanations for each ignored line.
;; See https://docs.openverse.org/meta/codespell.html for docs.

;; .github/workflows/draft_releases.yml
;; The release-drafter/release-drafter configuration variable name cannot be changed
commitish: main

;; frontend/src/locales/scripts/en.json5
;; Prettier insists we escape a single quote rather than the double quotes and codespell
;; does not understand the escaped `\'t` as "couldn't". It instead just sees "couldn".
heading: 'We couldn\'t find anything for "{query}".',

;; catalog/tests/dags/providers/provider_api_scripts/test_wikimedia_commons.py
;; "Titel" matches "title", but the phrase is in Dutch, not English, so "titel"
;; is actually correct. Similarly, "als" incorrectly matches to "also" in the same
;; block of Dutch text.
"Identificatie Titel(s): Allegorie op kunstenaar Francesco Mazzoli, "
"bekend als Parmigianino"

;; packages/js/eslint-plugin/configs/vue.ts
;; `te` gets matched with `the` and others
const i18nDestructureRules = ["t", "tc", "te", "td", "d", "n"].map(
11 changes: 11 additions & 0 deletions .codespell/ignore_words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
;; Please include explanations for each ignored word (lowercase) using full sentences.
;; See https://docs.openverse.org/meta/codespell.html for docs.

;; `nd` is a chemical element.
nd

;; `te` is a chemical element.
te

;; `Indide` refers to the keywords in the tyvanchuk_crystal_2024 paper.
indide

0 comments on commit e7b2d80

Please sign in to comment.