---
title: formatRepository
---

When using the `format` command, enables formatting of the `repository` field of `package.json` into a shorthand format.

## Default value

```json title=".synopkgrc.json"
{
  "formatRepository": true
}
```

:::note

There is no equivalent CLI Option for this configuration.

:::
