Socket
Book a DemoInstallSign in
Socket

textlint-plugin-ruby

Package Overview
Dependencies
Maintainers
20
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

textlint-plugin-ruby

Ruby plugin for textlint

3.0.3
latest
Source
npmnpm
Version published
Weekly downloads
3.2K
13.08%
Maintainers
20
Weekly downloads
 
Created
Source

textlint-plugin-ruby

Ruby plugin for textlint

Install

Install with npm:

$ npm install --dev textlint-plugin-ruby

Install textlint-ruby with gem:

# requires >= 2.0.0
$ gem install textlint-ruby

Usage

Put following config to .textlintrc

{
  "plugins": {
    "ruby": true
  }
}

Options

  • extensions: string[]
    • Additional file extensions for markdown
  • execCommand: string[]
    • Default ["textlint-ruby", "--stdio"]
    • Set textlint-ruby executable command

For example, if you want to treat custom extensions as ruby, put following config to .textlintrc

{
  "plugins": {
    "ruby": {
      "extensions": [".rbx"]
    }
  }
}

For example, if you want to set specific textlint-ruby executable path, put following config to .textlintrc

# Use gem installed with Gemfile.
{
  "plugins": {
    "ruby": {
      "execCommand": ["bundle", "exec", "textlint-ruby", "--stdio"]
    }
  }
}

Keywords

textlint

FAQs

Package last updated on 24 Feb 2022

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.