diff --git a/.husky/pre-commit b/.husky/pre-commit index c468e40a9f..dc22d72cd6 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,8 +1,8 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -# Thanks to axmrnv for helping to fix the lint-staged output https://github.com/typicode/husky/issues/968#issuecomment-1176848345 -exec >/dev/tty 2>&1 +echo "Running Lint check..." -# Can enable quiet mode to show nothing unless it has an error -npx lint-staged # -q +# -q enables quiet mode to show nothing unless it has an error +npx lint-staged -q +echo "Lint check finished" diff --git a/.vscode/extensions.json b/.vscode/extensions.json index bdc7aea339..87eb792194 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,3 @@ { - "recommendations": ["dbaeumer.vscode-eslint", "dzannotti.vscode-babel-coloring", "EditorConfig.EditorConfig", "ms-vscode-remote.vscode-remote-extensionpack"] + "recommendations": ["dbaeumer.vscode-eslint", "dzannotti.vscode-babel-coloring", "EditorConfig.EditorConfig", "ms-vscode-remote.vscode-remote-extensionpack", "streetsidesoftware.code-spell-checker"] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 4a58cba04b..43265ff411 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,7 +4,7 @@ ".prettierrc": "jsonc", ".eslintignore": "ignore" }, - + "eslint.validate": [ "javascript", "javascriptreact", @@ -26,5 +26,17 @@ "test/**/__snapshots__": true, "package-lock.json": true, "*.{css,sass,scss}.d.ts": true - } + }, + + "cSpell.words": [ + "asyncs", + "endregion", + "papi", + "paranext", + "unregisters", + "unsub", + "unsubs", + "unsubscriber", + "unsubscribers" + ], }