You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oops!Somethingwentwrong! :(ESLint: 9.20.1Error: Youhaveusedarulewhichrequirestypeinformation,butdon't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information.
Parser: typescript-eslint/parserOccurredwhilelinting/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/tests/index.test.ts:3Rule: "vitest/valid-title"atthrowError(/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/@typescript-eslint+utils@8.24.0_eslint@9.20.1_typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js:38:11)atObject.getParserServices(/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/@typescript-eslint+utils@8.24.0_eslint@9.20.1_typescript@5.7.3/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.js:27:9)atCallExpression(file:///Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/@vitest+eslint-plugin@1.1.31_@typescript-eslint+utils@8.24.0_eslint@9.20.1_typescript@5_d87e65acd0b63c7dc67e51c456345aea/node_modules/@vitest/eslint-plugin/dist/index.mjs:1:71138)atruleErrorHandler(/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/eslint@9.20.1/node_modules/eslint/lib/linter/linter.js:1160:48)at/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/eslint@9.20.1/node_modules/eslint/lib/linter/safe-emitter.js:45:58atArray.forEach(<anonymous>)atObject.emit(/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/eslint@9.20.1/node_modules/eslint/lib/linter/safe-emitter.js:45:38)atNodeEventGenerator.applySelector(/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/eslint@9.20.1/node_modules/eslint/lib/linter/node-event-generator.js:297:26)atNodeEventGenerator.applySelectors(/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/eslint@9.20.1/node_modules/eslint/lib/linter/node-event-generator.js:326:22)atNodeEventGenerator.enterNode(/Users/ntnyq/Desktop/github/ntnyq/repro-perfectionist-fallback-sort/node_modules/.pnpm/eslint@9.20.1/node_modules/eslint/lib/linter/node-event-generator.js:337:14)
The text was updated successfully, but these errors were encountered:
As mentioned in README - Enabling with type-testing
User can enable type testing related features by setting
settings.vitest.typecheck
totrue
.However, rule
vitest/valid-title
use this settings as well.eslint-plugin-vitest/src/rules/valid-title.ts
Lines 211 to 214 in b9a9414
It will cause ESLint error if user didn't enable type-aware lint by setting parserOptions of
@typescript-eslint/plugin
.Reproduction repo
Run lint, will get:
The text was updated successfully, but these errors were encountered: