Skip to content

Commit

Permalink
Reduce tabWidth to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Feb 23, 2021
1 parent 739b593 commit 210a25c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 11 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on: push

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `@bokub/prettier-config`
# @bokub / prettier-config

> My personal [Prettier](https://prettier.io) config.
Expand All @@ -7,6 +7,10 @@
**Install**:

```bash
# Just the config
npm i -D @bokub/prettier-config

# Whole package
npm i -D prettier pretty-quick husky @bokub/prettier-config
```

Expand Down
2 changes: 1 addition & 1 deletion index.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"singleQuote": true,
"tabWidth": 4,
"tabWidth": 2,
"printWidth": 120,
"vueIndentScriptAndStyle": true
}
16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{
"name": "@bokub/prettier-config",
"version": "1.1.0",
"version": "2.0.0",
"description": "bokub's favorite prettier config",
"author": "bokub",
"license": "MIT",
"scripts": {
"pub": "npm publish --access=public"
},
"homepage": "https://github.com/bokub/prettier-config",
"main": "index.json",
"files": [
"package.json",
"index.json",
"README.md"
],
"prettier": {
"singleQuote": true,
"tabWidth": 4,
"printWidth": 120
}
"keywords": [
"prettier",
"config",
"prettier-config"
]
}

0 comments on commit 210a25c

Please sign in to comment.