Skip to content

Commit

Permalink
Update lint script and GitHub workflow for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Sep 18, 2024
1 parent c0d4b71 commit fff19ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
with:
node-version: 22
- run: "npm --prefix new-log-viewer/ clean-install"
- run: "npm --prefix new-log-viewer/ run lint:check"
- run: "npm --prefix new-log-viewer/ run lint:ci"
3 changes: 2 additions & 1 deletion new-log-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

"lint": "npm run lint:check",
"lint:check": "npm-run-all --sequential --continue-on-error lint:check:*",
"lint:check:css": "stylelint src/**/*.css --formatter github",
"lint:check:css": "stylelint src/**/*.css",
"lint:check:js": "eslint src webpack.*.js --max-warnings 0",
"lint:ci": "npm-run-all --sequential --continue-on-error lint:check:js \"lint:check:css -- --formatter github\"",
"lint:fix": "npm-run-all --parallel --continue-on-error \"lint:check:* -- --fix\""
},
"repository": {
Expand Down

0 comments on commit fff19ae

Please sign in to comment.