Skip to content

Commit

Permalink
Merge pull request #2 from LaunchPadLab/feat/use-tabs
Browse files Browse the repository at this point in the history
Use tabs by default
  • Loading branch information
chawes13 authored Aug 3, 2023
2 parents 7374137 + 3fc0199 commit bb0b4e9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish
run-name: ${{ github.actor }} published a new release
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out latest code
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
scope: '@launchpadlab'
- name: Publish package on NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
13 changes: 1 addition & 12 deletions index.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"useTabs": true,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "auto"
}
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "@launchpadlab/prettier-config",
"version": "1.0.0",
"version": "2.0.0",
"main": "index.json",
"repository": "https://github.com/launchpadlab/prettier-config",
"author": "dpikt",
"license": "MIT"
"license": "MIT",
"peerDependencies": {
"prettier": "^1.0 || ^2.0 || ^3.0"
}
}

0 comments on commit bb0b4e9

Please sign in to comment.