Files
ruff-action/.npmrc
T
zaniebotandzaniebot 1f30a84c67 Harden npm install defaults (#401)
CI already disables npm lifecycle scripts, but ordinary installs from
the repository still run them. Add `.npmrc` defaults that disable those
scripts and apply the same seven-day `min-release-age` policy used by
`setup-uv`. Require npm `11.10.0` or newer through `devEngines` so older
versions cannot silently ignore the age setting. Explicit project
commands such as `npm run package` remain available.

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-08-18 19:12:36 +02:00

3 lines
42 B
Plaintext

ignore-scripts = true
min-release-age = 7