An open API service indexing awesome lists of open source software.

https://github.com/nice-move/prettier-plugin-groovy

A Prettier plugin for Groovy files
https://github.com/nice-move/prettier-plugin-groovy

Last synced: about 1 year ago
JSON representation

A Prettier plugin for Groovy files

Awesome Lists containing this project

README

          

# prettier-plugin-groovy

A [Prettier] plugin for Groovy files.

[prettier]: https://prettier.io/

[![npm][npm-badge]][npm-url]
[![github][github-badge]][github-url]
![node][node-badge]

[npm-url]: https://www.npmjs.com/package/prettier-plugin-groovy
[npm-badge]: https://img.shields.io/npm/v/prettier-plugin-groovy.svg?style=flat-square&logo=npm
[github-url]: https://github.com/nice-move/prettier-plugin-groovy
[github-badge]: https://img.shields.io/npm/l/prettier-plugin-groovy.svg?style=flat-square&colorB=blue&logo=github
[node-badge]: https://img.shields.io/node/v/prettier-plugin-groovy.svg?style=flat-square&colorB=green&logo=node.js

## Installation

```bash
npm install prettier-plugin-groovy --save-dev
```

## Usage

```sh
prettier --write jenkinsfile
```

# Tips

This plugin bundle [groovy-beautify](https://github.com/joycollector/groovy-beautify) to do the format.

## Related

- [@nice-move/prettier-config](https://github.com/nice-move/nice-move/tree/master/packages/prettier-config)
- [@nice-move/prettier-plugin-package-json](https://github.com/nice-move/prettier-plugin-package-json)
- [@nice-move/prettier-plugin-ssh-config](https://github.com/nice-move/prettier-plugin-ssh-config)