# @ronanc/prettier-config

> My personal Prettier configuration.

Latest version **0.1.1** (published 2019-08-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ronanc/prettier-config
pnpm add @ronanc/prettier-config
yarn add @ronanc/prettier-config
bun add @ronanc/prettier-config
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2019-08-11 |
| First published | 2019-08-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ronan Connolly |
| Maintainers | ronanc |
| Keywords | prettier, configuration |

## Links

- npm: https://www.npmjs.com/package/@ronanc/prettier-config
- Repository: https://github.com/RonanC/prettier-config
- Homepage: https://github.com/RonanC/prettier-config#readme
- Issues: https://github.com/RonanC/prettier-config/issues
- npm.io page: https://npm.io/package/@ronanc/prettier-config

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2019-08-11
- 0.1.0 — 2019-08-11

## README

# `@ronanc/prettier-config`

My personal Prettier configuration.

## Usage

In order to use this package:

- Install the package:
  > This will install the package, and add it to the `devDependencies` list in your `package.json` file:

```sh
$ npm install --save-dev @ronanc/prettier-config
```

**package.json**:

```jsonc
{
  // ...
  "devDependencies": {
    "@ronanc/prettier-config": "0.1.0"
  }
}
```

- Change your prettier configuration file name to: `.prettierrc.js`.
  > It needs to be a JS file so you can use `modules.exports`.
- Require this package in the `.prettierrc.js` file:
  > Use the JS spread operator to pull all of the properties out of the required package JSON file.

```js
module.exports = {
  ...require('@ronanc/prettier-config'),
};
```

## Overriding style rules

You can override style rules like so:
**.prettierrc.js**:

```js
module.exports = {
  ...require('@ronanc/prettier-config'),
  trailingComma: 'none',
  overrides: [
    {
      files: '*.html',
      options: {
        lineLength: 140,
      },
    },
  ],
};
```

## More information

For more information check out the Prettier site:  
https://prettier.io

Here's the section on having a shared config repository:  
https://prettier.io/docs/en/configuration.html#sharing-configurations

---
_Source: https://npm.io/package/@ronanc/prettier-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
