Skip to content

Commit

Permalink
type check eslint.config.mjs within npm run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Mar 6, 2024
1 parent 8b580ce commit fcf5a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ jobs:
run: npm run lint
- name: Run tests for wasm
run: npm test
- name: Check eslint config
run: npx tsc --checkJs --noEmit --module nodenext --strict eslint.config.mjs
lint:
name: Lint
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"lint:stylelint": "stylelint style.css",
"lint:prettier": "prettier --check \"*.ts\"",
"lint:eslint": "eslint --max-warnings 0 \"*.ts\"",
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:stylelint",
"lint:eslintconfig": "tsc --checkJs --noEmit --module nodenext --strict eslint.config.mjs",
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:stylelint && npm run lint:eslintconfig",
"prettier": "prettier --write \"*.ts\"",
"build": "tsc -p .",
"watch": "tsc -p . --watch",
Expand Down

0 comments on commit fcf5a93

Please sign in to comment.