I'm upgrading gts from 5.3.1 to 6.0.2 for some Sass repositories, and I'm seeing this error:
TypeError: services.getTypeAtLocation is not a function
Occurred while linting /app/source/_data/releases.ts:34
Rule: "@typescript-eslint/no-floating-promises"
at isKnownSafePromiseReturn (/app/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js:188:35)
at ExpressionStatement (/app/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js:113:21)
at ruleErrorHandler (/app/node_modules/eslint/lib/linter/linter.js:1076:28)
at /app/node_modules/eslint/lib/linter/safe-emitter.js:45:58
Looking around, it seems like it's already fixed in @typescript-eslint/parser v6.2.0 according to this issue that showed the same problem: https://github.com/vercel/next.js/issues/52890
I'm upgrading
gts
from5.3.1
to6.0.2
for some Sass repositories, and I'm seeing this error:Looking around, it seems like it's already fixed in
@typescript-eslint/parser
v6.2.0 according to this issue that showed the same problem: https://github.com/vercel/next.js/issues/52890It seems
gts
depends on the problematic version, and I wonder if maybe this can be fixed by upgrading the same package. See - https://github.com/vercel/next.js/pull/52848/filesRunning
npm ls
: