New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eslint-react/types

Package Overview
Dependencies
Maintainers
1
Versions
876
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eslint-react/types - npm Package Compare versions

Comparing version 1.23.3-next.0 to 1.23.3-next.1

72

dist/index.d.ts
import { ESLintUtils } from '@typescript-eslint/utils';
/**
* Rule severity.
* @since 0.0.1
*/
type Severity = "error" | "off" | "warn";
/**
* Rule declaration.
* @internal
* @since 0.0.1
*/
type RuleDeclaration = [Severity, Record<string, unknown>?] | Severity;
/**
* Rule config preset.
* @since 0.0.1
*/
type RulePreset = Record<string, RuleDeclaration>;
/**
* Rule creator function.
* @since 0.0.1
*/
type CreateRule = Parameters<ReturnType<typeof ESLintUtils.RuleCreator>>[0]["create"];
/**
* Rule context.
* @since 0.0.1
*/
type RuleContext = Parameters<CreateRule>[0];
/**
* Rule options.
* @since 0.0.1
*/
type RuleOptions = Parameters<CreateRule>[1];
type RuleFeature = "CFG" | "CHK" | "DBG" | "FIX" | "MOD" | "TSC";
type RuleNamespace = "debug" | "hooks-extra" | "naming-convention" | "x";
/**
* @since 0.4.0

@@ -134,38 +170,2 @@ */

/**
* Rule severity.
* @since 0.0.1
*/
type Severity = "error" | "off" | "warn";
/**
* Rule declaration.
* @internal
* @since 0.0.1
*/
type RuleDeclaration = [Severity, Record<string, unknown>?] | Severity;
/**
* Rule config preset.
* @since 0.0.1
*/
type RulePreset = Record<string, RuleDeclaration>;
/**
* Rule creator function.
* @since 0.0.1
*/
type CreateRule = Parameters<ReturnType<typeof ESLintUtils.RuleCreator>>[0]["create"];
/**
* Rule context.
* @since 0.0.1
*/
type RuleContext = Parameters<CreateRule>[0];
/**
* Rule options.
* @since 0.0.1
*/
type RuleOptions = Parameters<CreateRule>[1];
type RuleFeature = "CFG" | "CHK" | "DBG" | "FIX" | "MOD" | "TSC";
type RuleNamespace = "debug" | "hooks-extra" | "naming-convention" | "x";
export { type ArrayElement, BiRecord, type Cast, type CreateRule, type IterableContainer, type LooseRecord, type Narrow, type Pretty, type Remap, type RuleContext, type RuleDeclaration, type RuleFeature, type RuleNamespace, type RuleOptions, type RulePreset, type Severity, type UnionFromTuple, type UnionToIntersection, asConst, birecord, entries, fromEntries, narrow, typeOf, zip };
'use strict';
// src/helpers.ts
// src/utils.ts
var narrow = (a) => a;

@@ -5,0 +5,0 @@ var asConst = (a) => a;

{
"name": "@eslint-react/types",
"version": "1.23.3-next.0",
"version": "1.23.3-next.1",
"description": "ESLint React's type definitions.",

@@ -40,3 +40,3 @@ "homepage": "https://github.com/rEl1cx/eslint-react",

"@typescript-eslint/utils": "^8.19.1",
"@eslint-react/eff": "1.23.3-next.0"
"@eslint-react/eff": "1.23.3-next.1"
},

@@ -43,0 +43,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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