Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ jobs:
node-version: 12.x

- name: Install Node Modules
run: yarn
run: yarn install

- name: Lint
run: |
yarn lint
yarn fmt
run: yarn lint

- name: Formatting
if: always()
run: yarn format:check
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"scripts": {
"fmt": "prettier --check '**/*.{json,md,ts,yaml,yml}'",
"fmt:fix": "prettier --write '**/*.{json,md,ts,yaml,yml}'",
"prepare": "husky install",
"format:check": "prettier --check '**/*.{css,html,js,json,jsx,ts,tsx,yaml,yml}'",
"format:write": "prettier --write '**/*.{css,html,js,json,jsx,ts,tsx,yaml,yml}'",
"lint": "markdownlint '**/*.md'",
"lint:fix": "markdownlint --fix '**/*.md'",
"prepare": "husky install"
"lint:fix": "markdownlint --fix '**/*.md'"
},
"devDependencies": {
"@types/minimist": "^1.2.1",
Expand All @@ -21,7 +21,9 @@
"typescript": "^4.2.3"
},
"lint-staged": {
"*.{json,ts,yaml,yml}": "prettier --write",
"*.{css,html,js,json,jsx,ts,tsx,yaml,yml}": [
"prettier --write"
],
"*.md": [
"markdownlint --fix",
"prettier --write"
Expand Down