Skip to content

Commit 76cd8ad

Browse files
NullVoxPopuliclaude
andcommitted
Fix CI: alphabetize scripts, scope test ESLint cwd
- Move bench scripts to alphabetical position in package.json (required by lint:package-json) - Set cwd on the type-aware linting test's ESLint instance so its **/*.gts glob doesn't accidentally pick up bench fixture files Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent 345784e commit 76cd8ad

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
"lib"
3838
],
3939
"scripts": {
40+
"bench": "./scripts/run-bench.sh tests/lint.bench.mjs",
41+
"bench:compare": "node scripts/bench-compare.mjs",
42+
"bench:summary": "./scripts/local-bench-summary.sh",
4043
"format": "prettier . --write",
4144
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel \"lint:!(fix)\"",
4245
"lint:docs": "markdownlint \"**/*.md\"",
@@ -51,9 +54,6 @@
5154
"lint:package-json-sorting:fix": "sort-package-json package.json",
5255
"lint:prettier": "prettier . --check",
5356
"lint:remote": "eslint-remote-tester",
54-
"bench": "./scripts/run-bench.sh tests/lint.bench.mjs",
55-
"bench:compare": "node scripts/bench-compare.mjs",
56-
"bench:summary": "./scripts/local-bench-summary.sh",
5757
"start": "pnpm test:watch",
5858
"test": "vitest run",
5959
"test:coverage": "vitest --coverage",

tests/lib/rules-preprocessor/gjs-gts-parser-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ describe('multiple tokens in same file', () => {
778778

779779
it('lints while being type aware', async () => {
780780
const eslint = new ESLint({
781+
cwd: __dirname,
781782
ignore: false,
782783
useEslintrc: false,
783784
plugins: { ember: plugin },

0 commit comments

Comments
 (0)