eslint: add passthru.updateScript

This commit is contained in:
Michael Daniels
2025-07-05 02:32:45 -04:00
parent 54a5b84cab
commit a4ba29133a
+5
View File
@@ -2,6 +2,7 @@
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
stdenv,
}:
buildNpmPackage rec {
@@ -30,6 +31,10 @@ buildNpmPackage rec {
dontNpmBuild = true;
dontNpmPrune = true;
passthru.updateScript = nix-update-script {
extraArgs = [ "--generate-lockfile" ];
};
meta = {
description = "Find and fix problems in your JavaScript code";
homepage = "https://eslint.org";