Skip to content

Commit e444e39

Browse files
committed
upgrade eslint-scope
1 parent 83c5dec commit e444e39

File tree

3 files changed

+25
-33
lines changed

3 files changed

+25
-33
lines changed

package-lock.json

Lines changed: 23 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"clsx": "^2.1.1",
6161
"codemirror": "^6.0.2",
6262
"eslint-linter-browserify": "^9.39.2",
63-
"eslint-scope": "^9.1.0",
63+
"eslint-scope": "^9.1.2",
6464
"espree": "^10.4.0",
6565
"esquery": "^1.7.0",
6666
"graphviz-react": "^1.2.5",

src/components/scope/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const Scope: FC = () => {
2424

2525
try {
2626
scopeManager = eslintScope.analyze(result.ast as Program, {
27-
sourceType: sourceType as never,
27+
sourceType,
2828
ecmaVersion:
2929
esVersion === "latest" ? espree.latestEcmaVersion : esVersion,
3030
});

0 commit comments

Comments
 (0)