Socket
Socket
Sign inDemoInstall

@types/eslint

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/eslint - npm Package Compare versions

Comparing version 8.4.5 to 8.4.6

39

eslint/index.d.ts

@@ -555,19 +555,46 @@ // Type definitions for eslint 8.4

docs?: {
/** Provides the short description of the rule in the [rules index](https://eslint.org/docs/rules/) */
/** Provides a short description of the rule. */
description?: string | undefined;
/** Specifies the heading under which the rule is listed in the [rules index](https://eslint.org/docs/rules/) */
/**
* TODO: remove this field in next major release of @types/eslint.
* @deprecated no longer used
*/
category?: string | undefined;
/** Is whether the `"extends": "eslint:recommended"` property in a [configuration file](https://eslint.org/docs/user-guide/configuring#extending-configuration-files) enables the rule */
/** Whether the rule is enabled in the plugin's `recommended` configuration. */
recommended?: boolean | undefined;
/** Specifies the URL at which the full documentation can be accessed */
/** Specifies the URL at which the full documentation can be accessed (enabling code editors to provide a helpful link on highlighted rule violations). */
url?: string | undefined;
/** Specifies whether rules can return suggestions (defaults to false if omitted) */
/**
* TODO: remove this field in next major release of @types/eslint.
* @deprecated use `meta.hasSuggestions` instead
*/
suggestion?: boolean | undefined;
} | undefined;
/** Violation and suggestion messages. */
messages?: { [messageId: string]: string } | undefined;
/**
* Specifies if the `--fix` option on the command line automatically fixes problems reported by the rule.
* Mandatory for fixable rules.
*/
fixable?: "code" | "whitespace" | undefined;
/**
* Specifies the [options](https://eslint.org/docs/latest/developer-guide/working-with-rules#options-schemas)
* so ESLint can prevent invalid [rule configurations](https://eslint.org/docs/latest/user-guide/configuring/rules#configuring-rules).
*/
schema?: JSONSchema4 | JSONSchema4[] | undefined;
/** Indicates whether the rule has been deprecated. Omit if not deprecated. */
deprecated?: boolean | undefined;
/**
* Indicates the type of rule:
* - `"problem"` means the rule is identifying code that either will cause an error or may cause a confusing behavior. Developers should consider this a high priority to resolve.
* - `"suggestion"` means the rule is identifying something that could be done in a better way but no errors will occur if the code isn’t changed.
* - `"layout"` means the rule cares primarily about whitespace, semicolons, commas, and parentheses,
* all the parts of the program that determine how the code looks rather than how it executes.
* These rules work on parts of the code that aren’t specified in the AST.
*/
type?: "problem" | "suggestion" | "layout" | undefined;
/** Specifies whether rules can return suggestions (defaults to false if omitted) */
/**
* Specifies whether the rule can return suggestions (defaults to `false` if omitted).
* Mandatory for rules that provide suggestions.
*/
hasSuggestions?: boolean | undefined;

@@ -574,0 +601,0 @@ }

4

eslint/package.json
{
"name": "@types/eslint",
"version": "8.4.5",
"version": "8.4.6",
"description": "TypeScript definitions for eslint",

@@ -51,3 +51,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint",

},
"typesPublisherContentHash": "b0eb8273aab0241131ce07d2a5be9928c33a435e8ae28f856c74035c96114c9b",
"typesPublisherContentHash": "ea7a3930aee1a8f352a631e32f29e147c28e2916edc41c5459f608b82f73e211",
"typeScriptVersion": "4.0",

@@ -54,0 +54,0 @@ "exports": {

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 30 Jun 2022 21:32:21 GMT
* Last updated: Fri, 19 Aug 2022 02:32:31 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc