Skip to content

ippachi/prettier-plugin-eruby

Repository files navigation

Prettier eRuby plugin

Overview

This plugin is designed to recognize html.erb files as html and format them as html. So it currently does not support formatting ruby code.

Installation & Configuration

yarn add -D prettier-eruby-plugin
{
  "plugins": ["prettier-plugin-eruby"],
  "overrides": [
    {
      "files": "*.html.erb",
      "options": {
        "parser": "eruby-parse"
      }
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published