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 7.2.0 to 7.5.0

rules/only-throw-error.d.ts

4

package.json
{
"name": "@eslint-types/typescript-eslint",
"version": "7.2.0",
"version": "7.5.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": "7.2.0"
"@typescript-eslint/eslint-plugin": "7.5.0"
},

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

@@ -7,2 +7,6 @@ export interface Schema0 {

/**
* Whether to allow `array` typed values in template expressions.
*/
allowArray?: boolean;
/**
* Whether to allow `boolean` typed values in template expressions.

@@ -9,0 +13,0 @@ */

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

import type { ObjectCurlySpacingRuleOptions } from './rules/object-curly-spacing';
import type { OnlyThrowErrorRuleOptions } from './rules/only-throw-error';
import type { PaddingLineBetweenStatementsRuleOptions } from './rules/padding-line-between-statements';

@@ -143,2 +144,3 @@ import type { ParameterPropertiesRuleOptions } from './rules/parameter-properties';

import type { UnifiedSignaturesRuleOptions } from './rules/unified-signatures';
import type { UseUnknownInCatchCallbackVariableRuleOptions } from './rules/use-unknown-in-catch-callback-variable';
export type { ParserOptions } from './parser-options';

@@ -776,2 +778,8 @@ export type { Parsers } from './parsers';

/**
* Disallow throwing non-`Error` values as exceptions
*
* @see [only-throw-error](https://typescript-eslint.io/rules/only-throw-error)
*/
'@typescript-eslint/only-throw-error': OnlyThrowErrorRuleOptions;
/**
* Require or disallow padding lines between statements

@@ -1016,2 +1024,8 @@ *

'@typescript-eslint/unified-signatures': UnifiedSignaturesRuleOptions;
/**
* Enforce typing arguments in `.catch()` callbacks as `unknown`
*
* @see [use-unknown-in-catch-callback-variable](https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable)
*/
'@typescript-eslint/use-unknown-in-catch-callback-variable': UseUnknownInCatchCallbackVariableRuleOptions;
}
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