GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add eslint for `pr-checks` by mbg · Pull Request #3572 · github/codeql-action

Add eslint for pr-checks #3572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
mbg merged 11 commits into main from mbg/pr-checks/eslint
Mar 13, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

Add eslint for pr-checks #3572

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
11 commits
Select commit Hold shift + click to select a range
b5e1fb0
Add `workspaces` to root `package.json`
mbg Mar 12, 2026
7df3db2
Add minimal `Step` type
mbg Mar 12, 2026
e608db4
Add eslint configuration for `pr-checks`
mbg Mar 12, 2026
7950e47
Fix linter errors in `sync.ts`
mbg Mar 12, 2026
967ca85
Rename `sync_back` to `sync-back`
mbg Mar 12, 2026
b171c1c
Fix linter errors in `sync-back.ts`
mbg Mar 12, 2026
b4cb104
Fix linter errors in `sync-back.test.ts`
mbg Mar 12, 2026
3bc3228
Add explicit cache dependency paths in `pr-checks.yml`
mbg Mar 12, 2026
fc8d303
Add step (in root directory) to install dependencies
mbg Mar 12, 2026
a5aba59
Remove `package-lock.json` that's no longer needed
mbg Mar 13, 2026
136b8ab
Remove `cache-dependency-path` options as well
mbg Mar 13, 2026
File filter
Filter by extension


Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

5 changes: 4 additions & 1 deletion 5 .github/workflows/pr-checks.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,17 @@ jobs:
node-version: 24
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Verify PR checks up to date
if: always()
run: .github/workflows/script/verify-pr-checks.sh

- name: Run pr-checks tests
if: always()
working-directory: pr-checks
run: npm ci && npx tsx --test
run: npx tsx --test

check-node-version:
if: github.triggering_actor != 'dependabot[bot]'
Expand Down
5 changes: 1 addition & 4 deletions 5 .github/workflows/rebuild.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ jobs:
with:
node-version: 24
cache: 'npm'
cache-dependency-path: |
package-lock.json
pr-checks/package-lock.json

- name: Remove label
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -97,7 +94,7 @@ jobs:
working-directory: pr-checks
run: |
npm ci
npx tsx sync_back.ts --verbose
npx tsx sync-back.ts --verbose

- name: Generate workflows
working-directory: pr-checks
Expand Down
26 changes: 25 additions & 1 deletion 26 eslint.config.mjs
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default [
"ava.setup.mjs",
"eslint.config.mjs",
".github/**/*",
"pr-checks/**/*",
],
},
// eslint recommended config
Expand Down Expand Up @@ -170,4 +169,29 @@ export default [
"func-style": "off",
},
},
{
files: ["pr-checks/**/*.ts"],

languageOptions: {
parserOptions: {
// Use the correct `tsconfig.json` for `pr-checks`.
project: "./pr-checks/tsconfig.json",
},
},

rules: {
// The scripts in `pr-checks` are expected to output to the console.
"no-console": "off",

"@typescript-eslint/no-floating-promises": [
"error",
{
allowForKnownSafeCalls: [
// Avoid needing explicit `void` in front of `describe` calls in test files.
{ from: "package", name: ["describe"], package: "node:test" },
Comment thread
mbg marked this conversation as resolved.
Resolved

Uh oh!

There was an error while loading. Please reload this page.

],
},
],
},
},
];
67 changes: 67 additions & 0 deletions 67 package-lock.json
Show comments
View file
Open in desktop

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

3 changes: 3 additions & 0 deletions 3 package.json
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"transpile": "tsc --build --verbose"
},
"license": "MIT",
"workspaces": [
"pr-checks"
],
"dependencies": {
"@actions/artifact": "^5.0.3",
"@actions/artifact-legacy": "npm:@actions/artifact@^1.1.2",
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.