Unverified Commit 96efb535 authored by Mutsuha Asada's avatar Mutsuha Asada
Browse files

stylelint: modernized derivation and formatted via nixfmt-rfc-style

- Removed `rec`
- Removed `with lib;`
parent f88d5e23
Loading
Loading
Loading
Loading
+13 −6
Original line number Diff line number Diff line
{ buildNpmPackage, fetchFromGitHub, lib }:
{
  buildNpmPackage,
  fetchFromGitHub,
  lib,
}:

buildNpmPackage rec {
  pname = "stylelint";
let
  version = "16.9.0";
in
buildNpmPackage {
  pname = "stylelint";
  inherit version;

  src = fetchFromGitHub {
    owner = "stylelint";
@@ -15,11 +22,11 @@ buildNpmPackage rec {

  dontNpmBuild = true;

  meta = with lib; {
  meta = {
    description = "Mighty CSS linter that helps you avoid errors and enforce conventions";
    mainProgram = "stylelint";
    homepage = "https://stylelint.io";
    license = licenses.mit;
    maintainers = [ ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ momeemt ];
  };
}