From 418aa0250ef53029ce1af5146d857ff286e45304 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 8 Aug 2024 09:47:56 -0400 Subject: [PATCH 1/3] Add github action to codespell main on push and PRs --- .github/workflows/codespell.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/codespell.yml diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..c59e047 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,25 @@ +# Codespell configuration is within .codespellrc +--- +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Annotate locations with typos + uses: codespell-project/codespell-problem-matcher@v1 + - name: Codespell + uses: codespell-project/actions-codespell@v2 From 0bf69e0c5a231e2d6e2198cd41cc290d44223f02 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 8 Aug 2024 09:47:56 -0400 Subject: [PATCH 2/3] Add codespell config --- .codespellrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .codespellrc diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..da26852 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,7 @@ +[codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = .git*,*.svg,package-lock.json,.codespellrc,locales +check-hidden = true +# mixed case words starting with small letter, some latin +ignore-regex = \b[a-z]+[A-Z][a-zA-Z]*\b|.*Nam a nibh.* +# ignore-words-list = From a53dbcc29f579e30d786d1a4dde50b3243a0576d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 8 Aug 2024 09:50:27 -0400 Subject: [PATCH 3/3] [DATALAD RUNCMD] run codespell throughout fixing typos automagically === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- src/App.vue | 2 +- src/components/Landing/Landing.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index c123890..98e526e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -482,7 +482,7 @@ export default { } else if (_.isString(cond)) { const responseMapper = this.responseMapper(index, this.$store.state.responses, this.$store.state.responseMap); const v = this.evaluateString(cond, responseMapper); - // this.visibilty[index] = v; + // this.visibility[index] = v; return v; } return cond; diff --git a/src/components/Landing/Landing.vue b/src/components/Landing/Landing.vue index b807de6..ecdbce4 100644 --- a/src/components/Landing/Landing.vue +++ b/src/components/Landing/Landing.vue @@ -102,7 +102,7 @@ export default { font-weight: bold; } - /* DOCKED LAYOUT (header annd footer at top and bottom of viewport, + /* DOCKED LAYOUT (header and footer at top and bottom of viewport, center elements each scroll) */ .docked-layout { display: flex;