Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into fix/elements
Browse files Browse the repository at this point in the history
* origin/main:
  [DATALAD RUNCMD] run codespell throughout fixing typos automagically
  Add codespell config
  Add github action to codespell main on push and PRs
  • Loading branch information
satra committed Aug 9, 2024
2 parents e8f35a9 + a483963 commit 7e02ade
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -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 =
25 changes: 25 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Landing/Landing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7e02ade

Please sign in to comment.