Skip to content

Commit ff6d55f

Browse files
authored
bugc: fix the package's lint script (#331)
The script ran bugc's own eslint 8 with --ext, which the root flat config rejects, and eslint 8 cannot load that config's eslint 9 rules. Drop the flag and the eslint 8 devDependency so the script uses the root eslint.
1 parent 07f978e commit ff6d55f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/bugc/package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
"test": "vitest run",
190190
"test:watch": "vitest",
191191
"test:coverage": "vitest run --coverage",
192-
"lint": "eslint src bin --ext .ts",
192+
"lint": "eslint src bin",
193193
"typecheck": "tsc -p tsconfig.typecheck.json",
194194
"format": "prettier --write \"src/**/*.ts\"",
195195
"format:check": "prettier --check \"src/**/*.ts\"",
@@ -217,7 +217,6 @@
217217
"@types/parsimmon": "^1.10.9",
218218
"@vitest/coverage-v8": "^3.2.4",
219219
"@vitest/ui": "^3.2.4",
220-
"eslint": "^8.0.0",
221220
"fast-check": "^4.2.0",
222221
"prettier": "^3.5.3",
223222
"tsx": "^4.19.4",

‎yarn.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9065,7 +9065,7 @@ eslint-visitor-keys@^4.2.1:
90659065
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz#4cfea60fe7dd0ad8e816e1ed026c1d5251b512c1"
90669066
integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==
90679067

9068-
eslint@^8.0.0, eslint@^8.55.0:
9068+
eslint@^8.55.0:
90699069
version "8.57.1"
90709070
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.1.tgz#7df109654aba7e3bbe5c8eae533c5e461d3c6ca9"
90719071
integrity sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==

0 commit comments

Comments
 (0)