plugins.lint.autoInstall.enable
Whether to enable automatic installation of linters listed in lintersByFt
.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.lint.autoInstall.enableWarnings
Whether to enable warnings.
Type: boolean
Default:
true
Example:
false
Declared by:
plugins.lint.autoInstall.overrides
Attribute set of linter names to nix packages.
You can set a linter to null to disable auto-installing its package.
Type: attribute set of (null or package)
Default:
{ }
Example:
{
"jsonlint" = null;
"my-linter" = pkgs.writeShellApplication {
name = "my-linter";
text = "exec my-linter \"$@\"";
};
}
Declared by: