From ef4f8bee2c67c9a91e292ed29acced39f68037ae Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Mon, 20 Nov 2023 15:09:54 -0800 Subject: [PATCH] Rework codespell config Signed-off-by: Derek Nola --- .codespellignore | 8 -------- .codespellrc | 4 ++++ .github/workflows/codespell.yml | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 .codespellignore create mode 100644 .codespellrc diff --git a/.codespellignore b/.codespellignore deleted file mode 100644 index 94d850214..000000000 --- a/.codespellignore +++ /dev/null @@ -1,8 +0,0 @@ -aks -ec2 -eks -gce -gcp -ro -shouldnot -pullrequest \ No newline at end of file diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 000000000..dac830392 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,4 @@ +[codespell] +skip = .git,./src,./node_modules,*.js,*.json,./build,./.github,yarn.lock +check-filenames = true +ignore-words-list = aks,ec2,eks,gce,gcp,ro,shouldnot,pullrequest \ No newline at end of file diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 4f194e45e..8309eb257 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -21,4 +21,4 @@ jobs: python -m pip install --upgrade pip pip install codespell - name: Check spelling - run: codespell --skip=.git,./src,./node_modules,package.json,babel.config.js,docusaurus.config.js,sidebars.js,yarn.lock --check-filenames --ignore-regex=.te# --ignore-words=.codespellignore + run: codespell