Skip to content

Commit

Permalink
refactor: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Aug 18, 2024
1 parent 5c183f9 commit ee36736
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: pnpm i

- name: Lint
run: pnpm lint:editorconfig
run: editorconfig-checker
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: pnpm i

- name: Lint
run: pnpm lint:formatting
run: prettier . --check
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: pnpm release
run: semantic-release
2 changes: 1 addition & 1 deletion .github/workflows/remark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
run: pnpm i

- name: Lint
run: pnpm lint:md
run: remark . --quiet --frail
3 changes: 1 addition & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export default {
'**/*.md': 'remark --quiet --frail',
'**/*': 'prettier --write',
'*': 'prettier --write',
'src/**/*.ts': 'eslint --fix',
};
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@
"scripts": {
"init": "pnpm i && husky",
"spec": "vitest",
"spec:coverage": "vitest run --coverage",
"build": "rollup -c rollup.config.ts --configPlugin typescript",
"release": "semantic-release",
"lint:editorconfig": "editorconfig-checker",
"lint:formatting": "prettier . --check",
"lint:md": "remark . --quiet --frail",
"lint:ts": "eslint src/**/*.ts --fix",
"prettify": "prettier . --write"
},
Expand Down

0 comments on commit ee36736

Please sign in to comment.