Skip to content

Commit

Permalink
added @dipcode/prettier-config as prettierrc base
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoloureiro authored and srtab committed Jan 23, 2024
1 parent e0495f9 commit 4540528
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 65 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: |
npm pkg delete scripts.prepare
npm ci --omit=dev
run: HUSKY=0 npm ci
- name: Run tests
run: npm run lint
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
node-version: 'lts/*'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- run: |
npm pkg delete scripts.prepare
npm ci --omit=dev
- run: HUSKY=0 npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
9 changes: 0 additions & 9 deletions .prettierrc

This file was deleted.

108 changes: 59 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"homepage": "https://github.com/dipcode-software/eslint-config-dipcode#readme",
"exports": "./src/config.js",
"devDependencies": {
"@dipcode/prettier-config": "0.1.0",
"husky": "8.0.3",
"lint-staged": "15.2.0"
},
Expand All @@ -47,5 +48,6 @@
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^10.0.0"
}
},
"prettier": "@dipcode/prettier-config"
}

0 comments on commit 4540528

Please sign in to comment.