eslint: 9.10.0 -> 9.20.0 (#380585)

This commit is contained in:
Austin Horstman
2025-02-12 07:58:05 -08:00
committed by GitHub
2 changed files with 4329 additions and 3622 deletions
+4321 -3619
View File
File diff suppressed because it is too large Load Diff
+8 -3
View File
@@ -12,13 +12,13 @@ let
in
buildNpmPackage' rec {
pname = "eslint";
version = "9.10.0";
version = "9.20.0";
src = fetchFromGitHub {
owner = "eslint";
repo = "eslint";
tag = "v${version}";
hash = "sha256-R5DO4xN3PkwGAIfyMkohs9SvFiLjWf1ddOwkY6wbsjA=";
hash = "sha256-ahERh5Io2J/Uz9fgY875ldPtzjiasqxZ0ppINwYNoB4=";
};
# NOTE: Generating lock-file
@@ -30,11 +30,16 @@ buildNpmPackage' rec {
cp ${./package-lock.json} package-lock.json
'';
npmDepsHash = "sha256-Nrcld0ONfjdSh/ItdbDMp6dXVFKoj83aaoGXDgoNE60=";
npmDepsHash = "sha256-F3EUANBvniczR7QxNfo1LlksYPxXt16uqJDFzN6u64Y=";
dontNpmBuild = true;
dontNpmPrune = true;
postFixup = ''
# Remove broken symlink
rm $out/lib/node_modules/eslint/node_modules/eslint-config-eslint
'';
meta = {
description = "Find and fix problems in your JavaScript code";
homepage = "https://eslint.org";