Skip to content

fisker/prettier-plugin-rome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prettier-plugin-rome

Build Status Coverage Npm Version MIT License

Prettier plugin runs Rome.

Installation

yarn add prettier prettier-plugin-rome --dev

Usage

// prettier.config.cjs
module.exports = {
  plugins: ['prettier-plugin-rome'],
  overrides: [
    {
      files: '**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx}',
      options: {
        parser: 'rome',
      },
    },
  ],
}