diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1b99228..17e0705 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -99,8 +99,9 @@ # Cspell hook - id: cspell name: cspell - description: "Errors if there are spelling mistakes" - entry: env NPM_CONFIG_GLOBALCONFIG=./.npmrc cspell-cli + description: "Checks for spelling mistakes & typos" + entry: cspell-cli + additional_dependencies: ["--globalconfig=./.npmrc","@turo/cspell@1.7.0"] language: node types: [text] args: