Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eslint-types/typescript-eslint

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-types/typescript-eslint - npm Package Compare versions

Comparing version 6.19.1 to 6.21.0

rules/prefer-find.d.ts

4

package.json
{
"name": "@eslint-types/typescript-eslint",
"version": "6.19.1",
"version": "6.21.0",
"description": "TypeScript definitions for eslint-define-config",

@@ -23,3 +23,3 @@ "homepage": "https://github.com/eslint-types/define-config-plugin-types/tree/main/types/typescript-eslint",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "6.19.1"
"@typescript-eslint/eslint-plugin": "6.21.0"
},

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

@@ -11,3 +11,3 @@ export interface Schema0 {

/**
* Ingore members marked with the `override` modifier
* Ignore members marked with the `override` modifier
*/

@@ -14,0 +14,0 @@ ignoreOverrideMethods?: boolean;

@@ -21,3 +21,3 @@ export interface Schema0 {

/**
* Whether to ignore type annotations on the variable of a function expresion.
* Whether to ignore type annotations on the variable of a function expression.
*/

@@ -24,0 +24,0 @@ allowTypedFunctionExpressions?: boolean;

@@ -106,2 +106,3 @@ import type { AdjacentOverloadSignaturesRuleOptions } from './rules/adjacent-overload-signatures';

import type { PreferEnumInitializersRuleOptions } from './rules/prefer-enum-initializers';
import type { PreferFindRuleOptions } from './rules/prefer-find';
import type { PreferForOfRuleOptions } from './rules/prefer-for-of';

@@ -794,2 +795,8 @@ import type { PreferFunctionTypeRuleOptions } from './rules/prefer-function-type';

/**
* Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result
*
* @see [prefer-find](https://typescript-eslint.io/rules/prefer-find)
*/
'@typescript-eslint/prefer-find': PreferFindRuleOptions;
/**
* Enforce the use of `for-of` loop over the standard `for` loop where possible

@@ -796,0 +803,0 @@ *

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