Skip to content

Move npm audit level config out of pre-commit hook into .npmrc#396

Merged
jbampton merged 1 commit intomainfrom
copilot/update-documentation-for-features
Apr 3, 2026
Merged

Move npm audit level config out of pre-commit hook into .npmrc#396
jbampton merged 1 commit intomainfrom
copilot/update-documentation-for-features

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

The --audit-level=high flag was hardcoded inline in the pre-commit hook entry, coupling npm audit policy to the pre-commit config rather than npm's own config layer.

Changes

  • .npmrc (new): Sets audit-level=high as a persistent npm config
  • .pre-commit-config.yaml: Simplifies npm-audit hook entry from npm audit --audit-level=highnpm audit

@jbampton jbampton added the good first issue Good for newcomers label Apr 3, 2026
@jbampton jbampton added this to Next Apr 3, 2026
@github-project-automation github-project-automation bot moved this to In progress in Next Apr 3, 2026
@jbampton jbampton added this to the Hackfest milestone Apr 3, 2026
@jbampton jbampton marked this pull request as ready for review April 3, 2026 05:43
@jbampton jbampton merged commit 2823a8c into main Apr 3, 2026
5 of 6 checks passed
@jbampton jbampton deleted the copilot/update-documentation-for-features branch April 3, 2026 05:43
@github-project-automation github-project-automation bot moved this from In progress to Done in Next Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants