MCPcopy Create free account

hub / github.com/azat-io/eslint-plugin-perfectionist / functions

Functions795 in github.com/azat-io/eslint-plugin-perfectionist

↓ 26 callersFunctionbuildCommonJsonSchemas
({ allowedAdditionalTypeValues, additionalSortProperties, }: { additionalSortProperties?: Record<string,
utils/json-schemas/common-json-schemas.ts:80
↓ 26 callersMethodgenerateRecommendedAlphabet
* Generates an alphabet containing relevant characters from the Unicode * standard. Contains the Unicode planes 0 and 1. * * @returns - The g
utils/alphabet.ts:92
↓ 26 callersMethodgetCharacters
* Retrieves the characters from the alphabet. * * @returns The characters from the alphabet.
utils/alphabet.ts:426
↓ 26 callersMethodsortByLocaleCompare
* Sorts the alphabet by the locale order of the characters. * * @param locales - The locales to use for sorting. * @returns - The same alphab
utils/alphabet.ts:417
↓ 24 callersFunctionvalidateRuleJsonSchema
( schemaOrSchemas: readonly JSONSchema4[] | JSONSchema4, )
test/utils/validate-rule-json-schema.ts:8
↓ 23 callersFunctionbuildOxlintRuleTester
( rule: RuleModule, { lang }: { lang?: Language } = { lang: 'ts' }, )
test/rules/build-oxlint-rule-tester.ts:15
↓ 21 callersFunctionbuildCommonGroupsJsonSchemas
({ additionalCustomGroupMatchProperties, allowedAdditionalTypeValues, additionalSortProperties, }: { a
utils/json-schemas/common-groups-json-schemas.ts:204
↓ 20 callersFunctioncomplete
({ commonJsonSchemas, options = {}, settings, defaults, }: { commonJsonSchemas?: Record<string, JSON
utils/complete.ts:45
↓ 20 callersFunctiongetSettings
( settings: TSESLint.SharedConfigurationSettings, )
utils/get-settings.ts:161
↓ 20 callersFunctionvalidateCustomSortConfig
(options: Options)
utils/validate-custom-sort-config.ts:29
↓ 19 callersFunctionbuildAstListeners
({ nodeTypes, context, sorter, }: { sorter: Sorter<MessageId, Options, NoInfer<NodeTypes>> context:
utils/build-ast-listeners.ts:39
↓ 19 callersFunctionbuildOptionsByGroupIndexComputer
( options: T, )
utils/build-options-by-group-index-computer.ts:32
↓ 19 callersMethodcomputeGroup
* Computes the group of an element. * * @param params - Parameters object. * @param params.customGroupMatcher - Checks if the element matches
utils/group-matcher.ts:284
↓ 19 callersFunctiondoesCustomGroupMatch
(props: DoesCustomGroupMatchParameters<CustomGroupMatchOptions>)
utils/does-custom-group-match.ts:144
↓ 19 callersFunctiongetEslintDisabledLines
(props: { sourceCode: TSESLint.SourceCode ruleName: string })
utils/get-eslint-disabled-lines.ts:57
↓ 19 callersFunctionrangeToDiff
( node: TSESTree.Node, sourceCode: TSESLint.SourceCode, )
utils/range-to-diff.ts:41
↓ 19 callersFunctionsortNodesByGroups
({ comparatorByOptionsComputer, optionsByGroupIndexComputer, ignoreEslintDisabledNodes, isNodeIgnoredF
utils/sort-nodes-by-groups.ts:106
↓ 19 callersFunctionvalidateGroupsConfig
({ selectors, modifiers, options, }: ValidateGenerateGroupsConfigParameters)
utils/validate-groups-config.ts:87
↓ 19 callersFunctionvalidateNewlinesAndPartitionConfig
({ partitionByNewLine, newlinesBetween, newlinesInside, customGroups, groups, }: Options)
utils/validate-newlines-and-partition-config.ts:118
↓ 18 callersFunctionisNodeEslintDisabled
( node: TSESTree.Node, eslintDisabledLines: ReadonlySet<number>, )
utils/is-node-eslint-disabled.ts:30
↓ 18 callersFunctionreportAllErrors
({ ignoreFirstNodeHighestBlockComment, sortNodesExcludingEslintDisabled, newlinesBetweenValueGetter, a
utils/report-all-errors.ts:217
↓ 18 callersFunctionshouldPartition
({ tokenValueToIgnoreBefore, lastSortingNode, sortingNode, sourceCode, options, }: ShouldPartitionPa
utils/should-partition.ts:80
↓ 17 callersFunctionbuildRegexJsonSchema
({ additionalProperties, }: { additionalProperties?: Record<string, JSONSchema4> } = {})
utils/json-schemas/common-json-schemas.ts:187
↓ 17 callersFunctionisSortable
(node: unknown)
utils/is-sortable.ts:7
↓ 17 callersMethodreplace
* Shows a frame at once, without animation.
docs/components/Playground/motion.ts:25
↓ 15 callersFunctionbuildUseConfigIfJsonSchema
({ additionalProperties, }: { additionalProperties?: Record<string, JSONSchema4> } = {})
utils/json-schemas/common-json-schemas.ts:150
↓ 13 callersFunctionbuildCustomGroupSelectorJsonSchema
( selectors: readonly string[], )
utils/json-schemas/common-groups-json-schemas.ts:291
↓ 11 callersFunctioncanReportErrors
({ comparatorByOptionsComputer, newlinesBetweenValueGetter, availableMessageIds, canHaveDependencies,
utils/can-report-errors.ts:25
↓ 10 callersFunctionbuildCustomGroupModifiersJsonSchema
( modifiers: readonly string[], )
utils/json-schemas/common-groups-json-schemas.ts:257
↓ 10 callersFunctionisGroupWithOverridesOption
( groupOption: GroupsOptions<CustomTypeOption, AdditionalSortOptions>[number], )
utils/is-group-with-overrides-option.ts:33
↓ 9 callersFunctioncomputeParentNodesWithTypes
({ consecutiveOnly, allowedTypes, maxParent, node, }: { maxParent: TSESTree.Node | null consecutiv
utils/compute-parent-nodes-with-types.ts:18
↓ 9 callersFunctionisContextOptionMatching
({ matchedAstSelectors, nodeNames, options, }: { options: { useConfigurationIf?: { allNamesM
utils/context-matching/is-context-option-matching.ts:21
↓ 9 callersFunctionmatches
(value: string, regexOption: RegexOption)
utils/matches.ts:48
↓ 8 callersFunctiongetGroupIndex
(groups: Group[], node: SortingNode)
utils/get-group-index.ts:43
↓ 8 callersFunctiongetNodeDecorators
( node: NodeWithDecorator, )
utils/get-node-decorators.ts:32
↓ 8 callersFunctionisNewlinesBetweenOption
( groupOption: GroupsOptions[number], )
utils/is-newlines-between-option.ts:39
↓ 8 callersFunctionpassesAllNamesMatchPatternFilter
({ allNamesMatchPattern, nodeNames, }: { allNamesMatchPattern?: RegexOption nodeNames: string[] })
utils/context-matching/passes-all-names-match-pattern-filter.ts:15
↓ 8 callersFunctionpassesAstSelectorFilter
({ matchedAstSelectors, matchesAstSelector, }: { matchedAstSelectors: ReadonlySet<string> matchesAstSe
utils/context-matching/passes-ast-selector-filter.ts:11
↓ 8 callersFunctionpopulateSortingNodeGroupsWithDependencies
({ dependenciesBySortingNode, sortingNodeGroups, }: { dependenciesBySortingNode: Map<T, T[]> sortingNo
utils/populate-sorting-node-groups-with-dependencies.ts:18
↓ 8 callersFunctionsortNodesByDependencies
(nodes: T[], extraOptions: ExtraOptions)
utils/sort-nodes-by-dependencies.ts:116
↓ 7 callersFunctioncomputeGroupsNames
(groups: GroupsOptions)
utils/compute-groups-names.ts:13
↓ 7 callersFunctioncomputeOrderedValue
( value: number, order: CommonOptions['order'], )
utils/compare/compute-ordered-value.ts:15
↓ 7 callersFunctionopenGraph
(title: string)
docs/utils/open-graph.ts:5
↓ 7 callersFunctionsetState
(changes: Partial<LintState>)
docs/components/Playground/lint-client.ts:162
↓ 6 callersFunctionformatString
* Writes a string in single quotes. Line breaks and other control characters * are escaped, so the literal stays on one line. * * @param value - St
docs/components/Playground/config-snippet.ts:270
↓ 6 callersFunctionisNodeOnSingleLine
(node: TSESTree.Node)
utils/is-node-on-single-line.ts:9
↓ 5 callersFunctiongetDecoratorName
({ sourceCode, decorator, }: { sourceCode: TSESLint.SourceCode decorator: TSESTree.Decorator })
utils/get-decorator-name.ts:40
↓ 5 callersFunctionisFunctionExpression
( node: TSESTree.Node | null, )
rules/sort-classes/node-info/is-function-expression.ts:12
↓ 5 callersFunctionmatchesScopedExpressions
({ nodeValuesComputer, scopedRegexOption, allowedNodeTypes, parentNodes, }: { scopedRegexOption: Sco
utils/scoped-regex/matches-scoped-expressions.ts:27
↓ 4 callersFunctionbuildStringComparatorByOptionsComputer
( computeValue: (node: T) => string, )
utils/compare/default-comparator-by-options-computer.ts:37
↓ 4 callersFunctionbuildStringFormatter
({ specialCharacters, ignoreCase, }: Pick<CommonOptions, 'specialCharacters' | 'ignoreCase'>)
utils/compare/build-string-formatter.ts:26
↓ 4 callersFunctionbuildTypeJsonSchema
({ allowedAdditionalValues, }: { allowedAdditionalValues: undefined | string[] })
utils/json-schemas/common-json-schemas.ts:167
↓ 4 callersFunctioncheckNode
( nodeToCheck: TSESTree.Node, options?: { ignoreNextIdentifier: boolean }, )
rules/sort-modules/compute-dependencies.ts:40
↓ 4 callersFunctioncomputeMethodOrPropertyNameDetails
( node: | TSESTree.TSAbstractPropertyDefinition | TSESTree.TSAbstractMethodDefinition | TSESTree
rules/sort-classes/node-info/compute-method-or-property-name-details.ts:18
↓ 4 callersFunctioncomputeStaticModifier
( node: TSESTree.TSIndexSignature | Accessor | Property | Method, )
rules/sort-classes/node-info/common-modifiers.ts:79
↓ 4 callersFunctionevaluate
* Evaluates a node that holds only plain values: objects, arrays, strings, * numbers, booleans and `null`. * * @param expression - Expression to ev
docs/components/Playground/options-parser.ts:221
↓ 4 callersMethodgetCharactersWithCase
(codePoint: number)
utils/alphabet.ts:107
↓ 4 callersFunctiongetCommentsBefore
({ tokenValueToIgnoreBefore, sourceCode, node, }: GetCommentsBeforeParameters)
utils/get-comments-before.ts:21
↓ 4 callersFunctiongetDefaultOptions
(rule: string)
docs/components/Playground/rule-options.ts:32
↓ 4 callersFunctiongetEslintDisabledRules
(comment: string)
utils/get-eslint-disabled-rules.ts:78
↓ 4 callersFunctiongetKey
(property: TSESTree.Node)
docs/components/Playground/options-parser.ts:356
↓ 4 callersFunctiongetNewlinesBetweenOption
({ nextNodeGroupIndex, nodeGroupIndex, options, }: GetNewlinesBetweenOptionParameters)
utils/get-newlines-between-option.ts:49
↓ 4 callersFunctiongetStringAttribute
(node: JsxElement, name: string)
docs/utils/mdx-to-markdown.ts:241
↓ 4 callersFunctionisArrowFunctionNode
( node: TSESTree.Node, )
rules/sort-modules/is-arrow-function-node.ts:15
↓ 4 callersFunctionisLowSurrogate
(text: string, index: number)
docs/components/Playground/frame.ts:416
↓ 4 callersFunctionisNodeDependentOnOtherNode
( sortingNode1: Pick< SortingNodeWithDependencies, 'dependencyNames' | 'dependencies' >, sorting
utils/is-node-dependent-on-other-node.ts:43
↓ 4 callersFunctionorderIndex
(order: readonly string[], id: string)
docs/data/collections.ts:10
↓ 4 callersMethodparse
* Parses a group name from the `groups` option. * * @param params - Parameters object. * @param params.allSelectors - Available selectors for
utils/group-matcher.ts:49
↓ 4 callersFunctionparsePredefinedGroup
({ allSelectors, allModifiers, name, }: { allSelectors: readonly Selector[] allModifiers: readonly M
utils/parse-predefined-group.ts:43
↓ 4 callersMethodsortBy
* Sorts the alphabet by the sorting function provided. * * @param sortingFunction - The sorting function to use. * @returns - The same alphab
utils/alphabet.ts:357
↓ 3 callersMethodaddEventListener
* Listens for results and for load errors.
docs/components/Playground/lint-client.ts:105
↓ 3 callersFunctionassertIsNever
(_member: never)
utils/assert-is-never.ts:7
↓ 3 callersFunctionbuildFallbackSortJsonSchema
({ allowedAdditionalTypeValues, additionalProperties, }: { additionalProperties: Record<string, JSONSche
utils/json-schemas/common-json-schemas.ts:116
↓ 3 callersFunctionbuildLabel
(text: string)
docs/utils/mdx-to-markdown.ts:321
↓ 3 callersFunctionbuildOverloadSignatureNewlinesBetweenValueGetter
( newlinesBetweenOverloadSignatures: NewlinesBetweenOption, )
utils/overload-signature/build-overload-signature-newlines-between-value-getter.ts:14
↓ 3 callersFunctioncompareNaturally
( a: string, b: string, { specialCharacters, ignoreCase, locales, order, }: Pick<
utils/compare/compare-naturally.ts:24
↓ 3 callersFunctioncomputeAbstractModifier
( node: Accessor | Property | Method, )
rules/sort-classes/node-info/common-modifiers.ts:52
↓ 3 callersFunctioncomputeAccessibilityModifier
({ hasPrivateHash, node, }: { node: Accessor | Property | Method hasPrivateHash: boolean })
rules/sort-classes/node-info/common-modifiers.ts:15
↓ 3 callersFunctioncomputeComparators
( comparatorByOptionsComputer: ComparatorByOptionsComputer<Options, T>, options: Options, )
utils/compare/compute-comparators.ts:22
↓ 3 callersFunctioncomputeDecoratedModifier
(isDecorated: boolean)
rules/sort-classes/node-info/common-modifiers.ts:101
↓ 3 callersFunctioncomputeDependencies
({ ignoreCallbackDependenciesPatterns, useExperimentalDependencyDetection, isMemberStatic, expression,
rules/sort-classes/compute-dependencies.ts:25
↓ 3 callersFunctioncomputeDependenciesBySortingNode
({ sortingNodes, sourceCode, enumName, }: { sortingNodes: SortingNodeWithoutDependencies[] sourceCod
rules/sort-enums/compute-dependencies-by-sorting-node.ts:15
↓ 3 callersFunctioncomputeDependenciesOutsideDeferredFunctionsBySortingNode
({ ignoreCallbackDependenciesPatterns, sortingNodes, sourceCode, }: { ignoreCallbackDependenciesPatter
utils/compute-dependencies-outside-deferred-functions-by-sorting-node.ts:11
↓ 3 callersFunctioncomputeDependencyName
({ nodeNameWithoutStartingHash, hasPrivateHash, isStatic, }: { nodeNameWithoutStartingHash: string h
rules/sort-classes/compute-dependency-name.ts:1
↓ 3 callersFunctioncomputeDependencyNames
(pattern: TSESTree.Node)
rules/sort-objects/compute-dependency-names.ts:7
↓ 3 callersFunctioncomputeExpressionNumberValue
( expression: TSESTree.Node, )
rules/sort-enums/compute-expression-number-value.ts:14
↓ 3 callersFunctioncomputeGroupName
(group: GroupsOptions[number])
utils/compute-group-name.ts:16
↓ 3 callersFunctioncomputeIdentifierNameDetails
( node: TSESTree.PrivateIdentifier | TSESTree.Identifier | TSESTree.Literal, )
rules/sort-classes/compute-identifier-name-details.ts:16
↓ 3 callersFunctioncomputeNodeName
({ sourceCode, node, }: { sourceCode: TSESLint.SourceCode node: TSESTree.Expression })
rules/sort-maps/compute-node-name.ts:18
↓ 3 callersFunctioncomputeNodesInCircularDependencies
(elements: T[])
utils/compute-nodes-in-circular-dependencies.ts:35
↓ 3 callersFunctioncomputeOverrideModifier
( node: Accessor | Property | Method, )
rules/sort-classes/node-info/common-modifiers.ts:91
↓ 3 callersFunctioncomputePropertyOrVariableDeclaratorName
({ sourceCode, node, }: { node: TSESTree.VariableDeclarator | TSESTree.Property sourceCode: TSESLint.S
rules/sort-objects/compute-property-or-variable-declarator-name.ts:16
↓ 3 callersFunctioncreateFixProvider
( makeFixesParameters: Omit< MakeFixesParameters<T>, 'hasCommentAboveMissing' | 'fixer' >, )
utils/create-fix-provider.ts:85
↓ 3 callersFunctioncreateMarkdownEndpoint
(collection: SupportedCollection)
docs/utils/markdown-response.ts:15
↓ 3 callersFunctionescapeTableCell
(value: string)
docs/utils/escape-table-cell.ts:1
↓ 3 callersFunctionformatName
(value: string)
rules/sort-object-types/compute-node-name.ts:77
↓ 3 callersFunctionformatValue
(value: unknown, indent = 0, offset = 0)
docs/components/Playground/config-snippet.ts:143
↓ 3 callersFunctiongetEnumMembers
( value: TSESTree.TSEnumDeclaration, )
utils/get-enum-members.ts:27
↓ 3 callersFunctiongetLinesBetween
( source: TSESLint.SourceCode, left: Pick<SortingNode, 'node'>, right: Pick<SortingNode, 'node'>, )
utils/get-lines-between.ts:42
↓ 3 callersFunctiongetTypescriptImport
()
utils/tsconfig/get-typescript-import.ts:34
next →1–100 of 795, ranked by callers