Skip to content

Commit

Permalink
Merge pull request #698 from taeh98/values-error
Browse files Browse the repository at this point in the history
chore: add ci checks, order fields, fix types, and simplify logic
  • Loading branch information
taeh98 authored Aug 31, 2023
2 parents bd36006 + 05297d0 commit ff853e1
Show file tree
Hide file tree
Showing 6 changed files with 560 additions and 500 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,26 @@ jobs:
- run: npm outdated
- run: npx npm-check-updates

typos_spell_check:
name: Spell Check with Typos
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Check spelling with typos
uses: crate-ci/typos@master
with:
config: .typos.toml

commitlint:
name: Check the commit conforms to the Conventional Commits specification with commitlint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: wagoid/commitlint-github-action@v5

# TODO: check commits squashed into one (i.e. all changes in a PR are in one commit after last one in primary branch)
# TODO: use release-please to increment version number, update changelog, and publish releases automatically if CI passes
# TODO: check project builds/compiles correctly
# TODO: add tests
# TODO: add tests including coverage
19 changes: 19 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# docs at: https://github.com/crate-ci/typos/blob/master/docs/reference.md

files.extend-exclude = [
".typos.toml"
]

default.extend-ignore-re = [
# false positives
"alguns itens selecionados",
"elementi sono stati selezionati",
"Nada a ser mostrado",
"prevProps",
"prevState",
]

default.locale = "en-us"

# note: add false negatives with corrections in default.extend-identifiers or default.extend-words
# todo: check mistakes over multiple words, e.g. "the the" instead of "the"
Loading

0 comments on commit ff853e1

Please sign in to comment.