Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fisker/prettier-plugin-rome
Prettier plugin runs rome.
https://github.com/fisker/prettier-plugin-rome
Last synced: 6 days ago
JSON representation
Prettier plugin runs rome.
- Host: GitHub
- URL: https://github.com/fisker/prettier-plugin-rome
- Owner: fisker
- License: mit
- Created: 2022-11-25T05:56:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T13:48:11.000Z (18 days ago)
- Last Synced: 2024-10-28T17:08:18.210Z (18 days ago)
- Language: JavaScript
- Homepage:
- Size: 878 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 27
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# prettier-plugin-rome
[![Build Status][github_actions_badge]][github_actions_link]
[![Coverage][coveralls_badge]][coveralls_link]
[![Npm Version][package_version_badge]][package_link]
[![MIT License][license_badge]][license_link][github_actions_badge]: https://img.shields.io/github/workflow/status/fisker/prettier-plugin-rome/CI/master?style=flat-square
[github_actions_link]: https://github.com/fisker/prettier-plugin-rome/actions?query=branch%3Amaster
[coveralls_badge]: https://img.shields.io/coveralls/github/fisker/prettier-plugin-rome/master?style=flat-square
[coveralls_link]: https://coveralls.io/github/fisker/prettier-plugin-rome?branch=master
[license_badge]: https://img.shields.io/npm/l/git-hooks-list.svg?style=flat-square
[license_link]: https://github.com/fisker/prettier-plugin-rome/blob/master/license
[package_version_badge]: https://img.shields.io/npm/v/git-hooks-list.svg?style=flat-square
[package_link]: https://www.npmjs.com/package/git-hooks-list> Prettier plugin runs [Rome](https://rome.tools/).
## Installation
```bash
yarn add prettier prettier-plugin-rome --dev
```## Usage
```js
// prettier.config.cjs
module.exports = {
plugins: ['prettier-plugin-rome'],
overrides: [
{
files: '**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx}',
options: {
parser: 'rome',
},
},
],
}
```