瀏覽代碼

one more attempt at excluding dist from codespell

Hakim El Hattab 5 天之前
父節點
當前提交
7103c20916
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .codespellrc
  2. 1 1
      .github/workflows/spellcheck.yml

+ 1 - 1
.codespellrc

@@ -1,6 +1,6 @@
 [codespell]
 # Ref: https://github.com/codespell-project/codespell#using-a-config-file
-skip = .git*,package-lock.json,*.css,.codespellrc,/dist*
+skip = ./.git,./dist,.package-lock.json,*.css,.codespellrc
 check-hidden = true
 # Ignore super long lines -- must be minimized etc, acronyms
 # and some near hit variables

+ 1 - 1
.github/workflows/spellcheck.yml

@@ -22,4 +22,4 @@ jobs:
       - name: Codespell
         uses: codespell-project/actions-codespell@v2
         with:
-          skip: .git*,package-lock.json,*.css,.codespellrc,/dist*
+          skip: ./.git,./dist,.package-lock.json,*.css,.codespellrc