@typescript-eslint/types
Advanced tools
@@ -67,3 +67,16 @@ import type { Program } from 'typescript'; | ||
| tsconfigRootDir?: string; | ||
| /** | ||
| * Controls how the parser reacts when run with a TypeScript version that is | ||
| * not officially supported by typescript-eslint. | ||
| * - `'warn'` (default): log a warning to the console. | ||
| * - `'error'`: throw, causing the lint run to fail. Useful in CI to prevent | ||
| * unsupported TypeScript versions from being merged unnoticed. | ||
| * - `'ignore'`: do nothing. | ||
| */ | ||
| onUnsupportedTypeScriptVersion?: 'error' | 'ignore' | 'warn'; | ||
| /** | ||
| * @deprecated Use {@link onUnsupportedTypeScriptVersion} instead. | ||
| * `true` is equivalent to `'warn'` and `false` is equivalent to `'ignore'`. | ||
| */ | ||
| warnOnUnsupportedTypeScriptVersion?: boolean; | ||
| } |
+5
-3
| { | ||
| "name": "@typescript-eslint/types", | ||
| "version": "8.64.1-alpha.4", | ||
| "version": "8.64.1-alpha.5", | ||
| "description": "Types for the TypeScript-ESTree AST spec", | ||
@@ -86,3 +86,4 @@ "files": [ | ||
| }, | ||
| "typecheck:tsgo": {} | ||
| "typecheck:tsgo": {}, | ||
| "attw-check": {} | ||
| } | ||
@@ -99,4 +100,5 @@ }, | ||
| "typecheck": "pnpm -w exec nx typecheck", | ||
| "typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo" | ||
| "typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo", | ||
| "attw-check": "pnpm -w exec nx attw-check" | ||
| } | ||
| } |
114223
0.62%2775
0.47%