Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Sep 5, 2020
0 parents commit 26d84ad
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# `@bokub/prettier-config`

> My personal [Prettier](https://prettier.io) config.
## Usage

**Install**:

```bash
$ npm i -D @bokub/prettier-config
```

**Edit `package.json`**:

```jsonc
{
// ...
"prettier": "@bokub/prettier-config"
}
```
5 changes: 5 additions & 0 deletions index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"tabWidth": 4,
"printWidth": 120
}
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@bokub/prettier-config",
"version": "1.0.1",
"description": "bokub's favorite prettier config",
"author": "bokub",
"license": "MIT",
"scripts": {
"pub": "npm publish --access=public"
},
"main": "index.json",
"files": [
"package.json",
"index.json",
"README.md"
],
"prettier": {
"singleQuote": true,
"tabWidth": 4,
"printWidth": 120
}
}

0 comments on commit 26d84ad

Please sign in to comment.