Skip to content

Commit

Permalink
refactor: move scripts to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Aug 18, 2024
1 parent 47dd70c commit 4be75f6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
run: bun i

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

- name: Lint
run: bun lint:md
run: bun remark . --quiet --frail
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default {
'**/*.md': 'remark --quiet --frail'
'*.md': 'remark --quiet --frail'
};
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"scripts": {
"lint:editorconfig": "editorconfig-checker",
"lint:md": "remark . --quiet --frail"
},
"devDependencies": {
"@archoleat/commitlint-define-config": "^1.0.9",
"@commitlint/cli": "^19.4.0",
Expand Down

0 comments on commit 4be75f6

Please sign in to comment.