🚀 DAY 4 OF LAUNCH WEEK:Introducing Socket Scanning for OpenVSX Extensions.Learn more →
Socket
Book a DemoInstallSign in
Socket

@linthtml/linthtml-config-recommended

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linthtml/linthtml-config-recommended

Recommended shareable config for linthtml

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

Recommended shareable config for linthtml. It turns on some of the rules within linthtml..

Use it as is or as a foundation for your own config.

Installation

npm install @linthtml/linthtml-config-recommended --save-dev

Usage

If you've installed linthtml-config-recommended locally within your project, just set your linthtml config to:

{
  "extends": "@linthtml/linthtml-config-recommended"
}

Extending the config

Simply add a "rules" key to your config, then add your overrides and additions there.

For example, to change the line-max-len rule and increase the limit, turn off the tag-close rule, and add the attr-order rule:

{
  "extends": "stylelint-config-recommended",
  "rules": {
    "line-max-len": [
      true,
      120
    ],
    "tag-close": "off",
    "attr-order": [
      true,
      [
        "id", "class"
      ]
    ]
  }
}

Keywords

linthtml

FAQs

Package last updated on 20 Mar 2025

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