chore(nvim): upgrade eslint_d to v14 to support eslint v9

This commit is contained in:
Michael Thomas 2024-08-09 13:17:04 -04:00
parent eabc8c0582
commit 98dc94d2a7
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
pkgsMaster,
...
}: {
plugins.lint = {
enable = true;
lintersByFt = {
@ -16,5 +20,6 @@
extraPackages = with pkgs; [
statix
pkgsMaster.eslint_d
];
}

View File

@ -6,10 +6,11 @@
inherit (pkgs) system;
nixvim = inputs.nixvim.legacyPackages.${system};
icons = import ./config/icons.nix;
pkgsMaster = inputs.master.legacyPackages.${system};
nixvimModule = {
pkgs = inputs.unstable.legacyPackages.${system};
module = import ./config;
extraSpecialArgs = {inherit icons;};
extraSpecialArgs = {inherit icons pkgsMaster;};
};
in
nixvim.makeNixvimWithModule nixvimModule