UNPKG

eslint-plugin-perfectionist

Version:

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

17 lines (16 loc) 541 B
import { TSESLint } from '@typescript-eslint/utils' import { SortModulesSortingNode, DependencyDetection } from './types.js' type SortingNodeWithoutDependencies = Omit< SortModulesSortingNode, 'dependencies' > export declare function computeDependenciesBySortingNode({ dependencyDetection, sortingNodes, sourceCode, }: { sortingNodes: SortingNodeWithoutDependencies[] dependencyDetection: DependencyDetection sourceCode: TSESLint.SourceCode }): Map<SortingNodeWithoutDependencies, SortingNodeWithoutDependencies[]> export {}