# @r365/r365-prettier-config

> Prettier for r365

Latest version **0.0.8** (published 2019-11-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @r365/r365-prettier-config
pnpm add @r365/r365-prettier-config
yarn add @r365/r365-prettier-config
bun add @r365/r365-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.0.8 |
| Published | 2019-11-20 |
| First published | 2019-10-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Loren Posen |
| Maintainers | abdallatif1f, ahmadhawwash, falfaddaghi, ilaiwi, lposenr365, moaeady, shareef-al |
| Keywords | prettier, lint, js, javascript, r365 |

## Links

- npm: https://www.npmjs.com/package/@r365/r365-prettier-config
- npm.io page: https://npm.io/package/@r365/r365-prettier-config

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.8 (latest) — 2019-11-20
- 0.0.7 — 2019-11-20
- 0.0.6 — 2019-10-31
- 0.0.5 — 2019-10-31
- 0.0.4 — 2019-10-30
- 0.0.3 — 2019-10-30
- 0.0.2 — 2019-10-30
- 0.0.1 — 2019-10-30

## README

# R365 Prettier Config
This contains the javascript [prettification](https://prettier.io/docs/en/options.html) configuration for Restaurant365.


<!-- @import "[TOC]" {cmd="toc" depthFrom=2 depthTo=6 orderedList=false} -->

<!-- code_chunk_output -->

- [Install](#install)
- [Use](#use)
  - [Method 1: From .prettierrc.js (recommended)](#method-1-from-prettierrcjs-recommended)
  - [Method 2: From package.json](#method-2-from-packagejson)

<!-- /code_chunk_output -->


## Install
Run the following from the command line on the same level as your *package.json*:
```
npm install @r365/r365-prettier-config --save-dev
```

## Use
### Method 1: From .prettierrc.js (recommended)
Create a file called *.prettierrc.js* on the same level as your *package.json*, and add the following:
```js
module.exports = {
    ...require("@r365/r365-prettier-config"),
};
```

This method is recommended as it can be extended as needed.  For example:
```js
module.exports = {
    ...require("@r365/r365-prettier-config"),
    parser: "typescript",
};
```

### Method 2: From package.json
In your *package.json*, add the following parameter:
```json
{
    "prettier": "@r365/r365-prettier-config",
}
```
This is not recommended as:
1. It cannot be extended
2. It can require additional setup to be recognized by plugins within certain text editors (eg: by the [Prettier plugin](https://github.com/prettier/prettier-vscode) in [VSCode](https://code.visualstudio.com/))

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