https://github.com/adamzapasnik/prettier-plugin-erb
Prettier ERB plugin
https://github.com/adamzapasnik/prettier-plugin-erb
prettier prettier-plugin ruby ruby-on-rails
Last synced: about 1 year ago
JSON representation
Prettier ERB plugin
- Host: GitHub
- URL: https://github.com/adamzapasnik/prettier-plugin-erb
- Owner: adamzapasnik
- License: mit
- Created: 2021-02-07T11:16:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T08:39:24.000Z (over 3 years ago)
- Last Synced: 2025-03-31T05:31:39.659Z (about 1 year ago)
- Topics: prettier, prettier-plugin, ruby, ruby-on-rails
- Language: JavaScript
- Homepage:
- Size: 410 KB
- Stars: 103
- Watchers: 5
- Forks: 27
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Prettier ERB Plugin
## How to install?
```sh
yarn add -D prettier @prettier/plugin-ruby prettier-plugin-erb
```
`@prettier/plugin-ruby` is used for formatting multiline expressions
Available configuration options for plugin-ruby are available [here](https://github.com/prettier/plugin-ruby#configuration)
## How to deal with bugs?
Your code wasn't formatted correctly or there was an error? Add the problematic file to .prettierignore and submit an Issue.