@eslint-react/types
Advanced tools
Comparing version 1.23.3-next.0 to 1.23.3-next.1
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
19519
+ Added@eslint-react/eff@1.23.3-next.1(transitive)
- Removed@eslint-react/eff@1.23.3-next.0(transitive)