{"library":"eslint-plugin-expect-type","type":"library","category":null,"description":"ESLint plugin that adds Twoslash-style type assertions ($ExpectType, $ExpectError, $ExpectTypeSnapshot) and the ^? hover type comment. Version 0.6.2 is the latest stable release as of early 2025, with active development and frequent releases (0.4.x to 0.6.x in rapid succession). Unlike runtime assertion libraries (expect-type, ts-expect), this plugin works at the ESLint linting level without test runners. Requires @typescript-eslint/parser ≥6, ESLint ≥7, and TypeScript ≥4. Unique for inline type assertions in comments, enabling type-level testing in any file linted by ESLint.","language":"javascript","status":"active","version":"0.6.2","tags":["javascript","dtslint","d.ts","eslint","tslint","plugin","config","rule","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-expect-type","imports":["import expectType from 'eslint-plugin-expect-type/configs/recommended'","import { rules } from 'eslint-plugin-expect-type'","import expectTypePlugin from 'eslint-plugin-expect-type'"]},{"cmd":"yarn add eslint-plugin-expect-type","imports":[]},{"cmd":"pnpm add eslint-plugin-expect-type","imports":[]}],"homepage":null,"github":"https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-expect-type","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-expect-type/compatibility"}}