Unverified Commit b81ab219 authored by Austin Horstman's avatar Austin Horstman Committed by GitHub
Browse files

eslint: 9.10.0 -> 9.20.0 (#380585)

parents 0cefb295 2133ff69
Loading
Loading
Loading
Loading
+4505 −3803

File changed.

Preview size limit exceeded, changes collapsed.

+8 −3
Original line number Diff line number Diff line
@@ -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";