Align with cucumber/language-server and cucumber/language-server; with a pre-commit hook to automate linting checks on each commit.
Remove pretty-quick dependency as it is unmaintained and must be manually run on staged changes; whereas this is automated through the introduction of a pre-commit hook (through husky) and lint-staged.
To test, modify files in the src directory and run:
git add src
npx lint-staged
You should observe an output similar to the following:
✔ Preparing lint-staged...
✔ Running tasks for staged files...
✔ Applying modifications from tasks...
✔ Cleaning up temporary files...
🏷️ What kind of change is this?
:bank: Refactoring/debt/DX (improvement to code design, tooling, documentation etc. without changing behaviour)
🤔 What's changed?
Introduced linting pre-commit hook.
⚡️ What's your motivation?
Align with cucumber/language-server and cucumber/language-server; with a pre-commit hook to automate linting checks on each commit.
Remove
pretty-quick
dependency as it is unmaintained and must be manually run on staged changes; whereas this is automated through the introduction of a pre-commit hook (throughhusky
) andlint-staged
.To test, modify files in the
src
directory and run:You should observe an output similar to the following:
🏷️ What kind of change is this?
📋 Checklist: