New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@herb-tools/config

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@herb-tools/config

Shared configuration utilities for Herb tools

latest
Source
npmnpm
Version
0.9.4
Version published
Weekly downloads
114K
-2.23%
Maintainers
1
Weekly downloads
 
Created
Source

Herb Configuration

Package: @herb-tools/config

Shared configuration utilities for Herb. Provides a unified way to load, validate, and manage configuration across the Herb ecosystem including the linter, formatter, and language server.

Installation

:::code-group

npm add @herb-tools/config
pnpm add @herb-tools/config
yarn add @herb-tools/config
bun add @herb-tools/config

:::

Usage

.herb.yml

The configuration is stored in a .herb.yml file in the project root:

version: 0.9.4

linter:
  enabled: true
  rules:
    erb-no-extra-newline:
      enabled: false

formatter:
  enabled: true
  indentWidth: 2
  maxLineLength: 120

Configuration Hierarchy

The Herb tools follow this configuration priority:

  • Project configuration (.herb.yml file) - Highest priority
  • Editor settings (VS Code workspace/user settings)
  • Default settings - Fallback when no other configuration exists

This allows teams to share consistent settings via .herb.yml while still allowing individual developer preferences when no project configuration exists.

FAQs

Package last updated on 01 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts