diff --git a/README.md b/README.md new file mode 100644 index 0000000..8f33807 --- /dev/null +++ b/README.md @@ -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" +} +``` diff --git a/index.json b/index.json new file mode 100644 index 0000000..a561663 --- /dev/null +++ b/index.json @@ -0,0 +1,5 @@ +{ + "singleQuote": true, + "tabWidth": 4, + "printWidth": 120 +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..4364822 --- /dev/null +++ b/package.json @@ -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 + } +}