@types/eslint
Advanced tools
Comparing version 8.44.1 to 8.44.2
@@ -921,9 +921,6 @@ // Type definitions for eslint 8.44 | ||
type ParserModule = | ||
| { | ||
parse(text: string, options?: any): AST.Program; | ||
} | ||
| { | ||
parseForESLint(text: string, options?: any): ESLintParseResult; | ||
}; | ||
type ParserModule = ESLint.ObjectMetaProperties & ( | ||
{ parse(text: string, options?: any): AST.Program; } | ||
| { parseForESLint(text: string, options?: any): ESLintParseResult; } | ||
); | ||
@@ -943,3 +940,3 @@ interface ESLintParseResult { | ||
// https://eslint.org/docs/developer-guide/working-with-plugins#processors-in-plugins | ||
interface Processor<T extends string | ProcessorFile = string | ProcessorFile> { | ||
interface Processor<T extends string | ProcessorFile = string | ProcessorFile> extends ESLint.ObjectMetaProperties { | ||
supportsAutofix?: boolean | undefined; | ||
@@ -1071,3 +1068,16 @@ preprocess?(text: string, filename: string): T[]; | ||
interface Plugin { | ||
interface ObjectMetaProperties { | ||
/** @deprecated Use `meta.name` instead. */ | ||
name?: string | undefined; | ||
/** @deprecated Use `meta.version` instead. */ | ||
version?: string | undefined; | ||
meta?: { | ||
name?: string | undefined; | ||
version?: string | undefined; | ||
}; | ||
} | ||
interface Plugin extends ObjectMetaProperties { | ||
configs?: Record<string, ConfigData | Linter.FlatConfig | Linter.FlatConfig[]> | undefined; | ||
@@ -1074,0 +1084,0 @@ environments?: Record<string, Environment> | undefined; |
{ | ||
"name": "@types/eslint", | ||
"version": "8.44.1", | ||
"version": "8.44.2", | ||
"description": "TypeScript definitions for eslint", | ||
@@ -51,3 +51,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint", | ||
}, | ||
"typesPublisherContentHash": "7a1d8175f2c5c67bd1abece469e3cd87596a8f19ebf261bdc2eadd128b9db275", | ||
"typesPublisherContentHash": "97b0176e71d5a8db5e07c2bd8d35d2ed6738aa1eaa3f7175881f9942d304c0ba", | ||
"typeScriptVersion": "4.3", | ||
@@ -54,0 +54,0 @@ "exports": { |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 25 Jul 2023 10:03:02 GMT | ||
* Last updated: Fri, 04 Aug 2023 20:19:53 GMT | ||
* Dependencies: [@types/estree](https://npmjs.com/package/@types/estree), [@types/json-schema](https://npmjs.com/package/@types/json-schema) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
178426
5204