Skip to content

Commit 4540528

Browse files
tiagoloureirosrtab
authored andcommitted
added @dipcode/prettier-config as prettierrc base
1 parent e0495f9 commit 4540528

File tree

5 files changed

+64
-65
lines changed

5 files changed

+64
-65
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333
node-version: ${{ matrix.node-version }}
3434
cache: 'npm'
3535
- name: Install dependencies
36-
run: |
37-
npm pkg delete scripts.prepare
38-
npm ci --omit=dev
36+
run: HUSKY=0 npm ci
3937
- name: Run tests
4038
run: npm run lint

.github/workflows/deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
node-version: 'lts/*'
2121
cache: 'npm'
2222
registry-url: 'https://registry.npmjs.org'
23-
- run: |
24-
npm pkg delete scripts.prepare
25-
npm ci --omit=dev
23+
- run: HUSKY=0 npm ci
2624
- run: npm publish --access public
2725
env:
2826
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}

.prettierrc

Lines changed: 0 additions & 9 deletions
This file was deleted.

package-lock.json

Lines changed: 59 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"homepage": "https://github.com/dipcode-software/eslint-config-dipcode#readme",
3131
"exports": "./src/config.js",
3232
"devDependencies": {
33+
"@dipcode/prettier-config": "0.1.0",
3334
"husky": "8.0.3",
3435
"lint-staged": "15.2.0"
3536
},
@@ -47,5 +48,6 @@
4748
"eslint-plugin-jsdoc": "^48.0.2",
4849
"eslint-plugin-prettier": "^5.1.3",
4950
"eslint-plugin-simple-import-sort": "^10.0.0"
50-
}
51+
},
52+
"prettier": "@dipcode/prettier-config"
5153
}

0 commit comments

Comments
 (0)