This pull request includes several changes to improve the development workflow and enforce code quality standards. The most important changes include the addition of a spell-check configuration, updates to the pre-commit hooks, and modifications to the package.json file to integrate Husky and other tools.
Development Workflow Improvements:
Spell-check Configuration: Added a new .cspell.yaml file to configure spell-checking with custom dictionaries and ignore paths. (.cspell.yaml, .cspell.yamlR1-R30)
Pre-commit Hooks: Introduced a .husky/pre-commit script to run linting and pre-commit checks using pre-commit if available. (.husky/pre-commit, .husky/pre-commitR1-R9)
Pre-commit Configuration: Added a .pre-commit-config.yaml file to define various pre-commit hooks, including checks for large files, merge conflicts, YAML validation, and markdown linting. (.pre-commit-config.yaml, .pre-commit-config.yamlR1-R51)
Package Configuration:
Husky Integration: Updated package.json to add Husky and a prepare script to set up Git hooks. (package.json, [1][2]
Linting Command: Added a lint:all script to package.json for running both lint and Prettier checks. (package.json, package.jsonR34-R42)
Miscellaneous:
GitHub Actions: Updated the release.yml workflow to disable Husky during the release process. (.github/workflows/release.yml, .github/workflows/release.ymlR22-R24)
This pull request includes several changes to improve the development workflow and enforce code quality standards. The most important changes include the addition of a spell-check configuration, updates to the pre-commit hooks, and modifications to the
package.json
file to integrate Husky and other tools.Development Workflow Improvements:
.cspell.yaml
file to configure spell-checking with custom dictionaries and ignore paths. (.cspell.yaml
, .cspell.yamlR1-R30).husky/pre-commit
script to run linting and pre-commit checks usingpre-commit
if available. (.husky/pre-commit
, .husky/pre-commitR1-R9).pre-commit-config.yaml
file to define various pre-commit hooks, including checks for large files, merge conflicts, YAML validation, and markdown linting. (.pre-commit-config.yaml
, .pre-commit-config.yamlR1-R51)Package Configuration:
package.json
to add Husky and aprepare
script to set up Git hooks. (package.json
, [1] [2]lint:all
script topackage.json
for running both lint and Prettier checks. (package.json
, package.jsonR34-R42)Miscellaneous:
release.yml
workflow to disable Husky during the release process. (.github/workflows/release.yml
, .github/workflows/release.ymlR22-R24)