eslint-codemod-utils
Advanced tools
Comparing version 1.8.4 to 1.8.5
@@ -1,5 +0,6 @@ | ||
import type { Node as BaseNode, JSXSpreadChild } from 'estree-jsx'; | ||
import type { Node as ESTreeNode, JSXSpreadChild } from 'estree-jsx'; | ||
import type { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/types'; | ||
export declare type EslintCodemodUtilsBaseNode = BaseNode | { | ||
type: AST_NODE_TYPES; | ||
import type { Rule } from 'eslint'; | ||
export declare type EslintCodemodUtilsBaseNode = ESTreeNode | { | ||
type: keyof typeof AST_NODE_TYPES; | ||
} | JSXSpreadChild; | ||
@@ -13,2 +14,3 @@ export declare type WithoutType<T extends EslintCodemodUtilsBaseNode> = Omit<T, 'type'>; | ||
}>) => StringableASTNode<EstreeNodeType>; | ||
export declare type EslintNode = EslintCodemodUtilsBaseNode & Pick<TSESTree.BaseNode, 'parent'>; | ||
export declare type EslintNode = EslintCodemodUtilsBaseNode & Partial<Rule.NodeParentExtension>; | ||
export declare type TSEslintNode = EslintCodemodUtilsBaseNode & Pick<TSESTree.BaseNode, 'parent'>; |
@@ -1,5 +0,6 @@ | ||
import type { Node as BaseNode, JSXSpreadChild } from 'estree-jsx'; | ||
import type { Node as ESTreeNode, JSXSpreadChild } from 'estree-jsx'; | ||
import type { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/types'; | ||
export declare type EslintCodemodUtilsBaseNode = BaseNode | { | ||
type: AST_NODE_TYPES; | ||
import type { Rule } from 'eslint'; | ||
export declare type EslintCodemodUtilsBaseNode = ESTreeNode | { | ||
type: keyof typeof AST_NODE_TYPES; | ||
} | JSXSpreadChild; | ||
@@ -13,2 +14,3 @@ export declare type WithoutType<T extends EslintCodemodUtilsBaseNode> = Omit<T, 'type'>; | ||
}>) => StringableASTNode<EstreeNodeType>; | ||
export declare type EslintNode = EslintCodemodUtilsBaseNode & Pick<TSESTree.BaseNode, 'parent'>; | ||
export declare type EslintNode = EslintCodemodUtilsBaseNode & Partial<Rule.NodeParentExtension>; | ||
export declare type TSEslintNode = EslintCodemodUtilsBaseNode & Pick<TSESTree.BaseNode, 'parent'>; |
{ | ||
"name": "eslint-codemod-utils", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"description": "A collection of AST helper functions for more complex ESLint rule fixes.", | ||
@@ -5,0 +5,0 @@ "author": "Alex Hinds", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
604495
16856