MCPcopy Index your code

hub / github.com/stylelint/stylelint / functions

Functions980 in github.com/stylelint/stylelint

↓ 695 callersFunctiontestRule
(option)
types/stylelint/type-test.ts:102
↓ 332 callersFunctionstandalone
({ abortSignal, allowEmptyInput, cache, cacheLocation, cacheStrategy, code, codeFilename, config, con
lib/standalone.mjs:43
↓ 208 callersFunctionreport
(problem)
lib/utils/report.mjs:36
↓ 191 callersFunctionvalidateOptions
(result, ruleName, ...optionDescriptions)
lib/utils/validateOptions.mjs:17
↓ 167 callersFunctionoptionsMatches
(options, propertyName, input)
lib/utils/optionsMatches.mjs:13
↓ 165 callersFunctiongetDimension
(node)
lib/utils/getDimension.mjs:15
↓ 156 callersFunctionruleMessages
(ruleName, messages)
lib/utils/ruleMessages.mjs:4
↓ 101 callersMethodget
* @param {string} key * @returns {V | undefined}
lib/utils/MemoryCache.mjs:26
↓ 97 callersFunctionparseSelector
(selector, result, node)
lib/utils/parseSelector.mjs:9
↓ 74 callersFunctionisStandardSyntaxRule
(rule)
lib/utils/isStandardSyntaxRule.mjs:10
↓ 73 callersMethodset
* @param {string} key * @param {V} value
lib/utils/MemoryCache.mjs:45
↓ 68 callersFunctionbuildCLI
(argv)
lib/cli.mjs:724
↓ 65 callersFunctionmatchesStringOrRegExp
(input, comparison)
lib/utils/matchesStringOrRegExp.mjs:15
↓ 63 callersFunctionisStandardSyntaxUrl
(url)
lib/utils/isStandardSyntaxUrl.mjs:15
↓ 57 callersFunctionisStandardSyntaxDeclaration
(decl)
lib/utils/isStandardSyntaxDeclaration.mjs:10
↓ 54 callersFunctiondeclarationValueIndex
(decl)
lib/utils/nodeFieldIndices.mjs:74
↓ 52 callersFunctionfixturesPath
(...elems)
lib/__tests__/cli.test.mjs:28
↓ 50 callersFunctionnormalizeSelector
(node, result)
lib/utils/normalizeSelector.mjs:29
↓ 44 callersFunctionfixtures
(...elem)
lib/__tests__/ignore.test.mjs:13
↓ 44 callersFunctiongetRuleSelector
(ruleNode)
lib/utils/getRuleSelector.mjs:5
↓ 44 callersFunctionisString
(value)
lib/utils/validateTypes.mjs:61
↓ 44 callersFunctionpad
* Pad string to fixed width. * * @param {string} str * @param {number} width * @param {string} [align] * @returns {string}
scripts/benchmarking/reporter.mjs:98
↓ 42 callersFunctionisStandardSyntaxSelector
(selector)
lib/utils/isStandardSyntaxSelector.mjs:9
↓ 41 callersFunctionisStandardSyntaxValue
(value)
lib/utils/isStandardSyntaxValue.mjs:9
↓ 39 callersFunctionexpectDisableRanges
(result, expected)
lib/__tests__/disableRanges.test.mjs:1194
↓ 39 callersFunctionisInDocument
(node, options)
lib/utils/isInDocument.mjs:10
↓ 39 callersFunctionisValueWord
(node)
lib/utils/typeGuards.mjs:97
↓ 37 callersFunctionisAtRule
(node)
lib/utils/typeGuards.mjs:25
↓ 37 callersFunctionisValueFunction
(node)
lib/utils/typeGuards.mjs:65
↓ 37 callersFunctionreplaceBackslashes
(path)
lib/testUtils/replaceBackslashes.mjs:7
↓ 37 callersFunctionresultStylelint
(props)
lib/utils/__tests__/report.test.mjs:9
↓ 37 callersFunctiontestDisableRanges
(source, options)
lib/__tests__/disableRanges.test.mjs:1220
↓ 36 callersFunctiongetCleanFormatterOutput
(results, formatter, returnValue = { ruleMetadata: {} })
lib/testUtils/getCleanOutput.mjs:30
↓ 36 callersFunctiongetStrippedSelectorSource
(node)
lib/utils/getStrippedSelectorSource.mjs:12
↓ 36 callersFunctionisStandardSyntaxAtRule
(atRule)
lib/utils/isStandardSyntaxAtRule.mjs:7
↓ 35 callersFunctionfindFontFamily
(value)
lib/utils/findFontFamily.mjs:39
↓ 35 callersFunctionuniteSets
(...args)
lib/utils/uniteSets.mjs:7
↓ 34 callersFunctionmergeSyntaxDefinitions
(...sources)
lib/utils/mergeSyntaxDefinitions.mjs:15
↓ 32 callersFunctionisRule
(node)
lib/utils/typeGuards.mjs:17
↓ 31 callersFunctionisFirstNested
(statement)
lib/utils/isFirstNested.mjs:7
↓ 29 callersFunctionatRuleParamIndex
(atRule)
lib/utils/nodeFieldIndices.mjs:12
↓ 29 callersFunctionhasEmptyLine
(string)
lib/utils/hasEmptyLine.mjs:9
↓ 28 callersFunctionassert
(value, message = undefined)
lib/utils/validateTypes.mjs:84
↓ 28 callersFunctionisCustomElement
(selector)
lib/utils/isCustomElement.mjs:10
↓ 28 callersFunctionisPlainObject
(value)
lib/utils/validateTypes.mjs:70
↓ 26 callersFunctionatRule
(css)
lib/utils/__tests__/nodeFieldIndices.test.mjs:237
↓ 26 callersFunctiongetDeclarationValue
(decl)
lib/utils/getDeclarationValue.mjs:5
↓ 25 callersFunctionisKeyframeRule
(rule)
lib/utils/isKeyframeRule.mjs:9
↓ 25 callersFunctionnarrowFixRange
(node, fixData)
lib/utils/narrowFixRange.mjs:10
↓ 24 callersFunctionapplyFixData
(originalText, replacementText, range)
lib/utils/__tests__/narrowFixRange.test.mjs:6
↓ 24 callersFunctionisConfigurationComment
( textOrNode, configurationComment = DEFAULT_CONFIGURATION_COMMENT, )
lib/utils/configurationComment.mjs:45
↓ 24 callersFunctionmergeTestDescriptions
(...args)
lib/testUtils/mergeTestDescriptions.mjs:7
↓ 24 callersFunctionrangesOverlap
(a, b)
lib/utils/rangesOverlap.mjs:9
↓ 23 callersFunctionisCustomProperty
(property)
lib/utils/isCustomProperty.mjs:6
↓ 23 callersFunctionisSharedLineComment
(node)
lib/utils/isSharedLineComment.mjs:22
↓ 23 callersFunctionisStandardSyntaxTypeSelector
(node)
lib/utils/isStandardSyntaxTypeSelector.mjs:16
↓ 22 callersFunctionisChanged
(file, targetFilePath)
lib/__tests__/standalone-cache.test.mjs:14
↓ 22 callersFunctionisKeyframeSelector
(selector)
lib/utils/isKeyframeSelector.mjs:14
↓ 22 callersFunctionpostcssCheck
(cssString)
lib/utils/__tests__/hasBlock.test.mjs:31
↓ 21 callersFunctionisComment
(node)
lib/utils/typeGuards.mjs:33
↓ 21 callersFunctionnormalizeRuleSettings
(rawSettings, rule)
lib/normalizeRuleSettings.mjs:22
↓ 20 callersFunctiongetConfig
(additional = {})
lib/__tests__/standalone-cache.test.mjs:27
↓ 20 callersFunctionisStandardSyntaxProperty
(property)
lib/utils/isStandardSyntaxProperty.mjs:10
↓ 19 callersFunctionconfig
(additionalProps)
lib/__tests__/standalone-syntax.test.mjs:11
↓ 19 callersFunctiongetConfigForFile
({ stylelint, searchPath = stylelint._options.cwd, filePath, failIfNoConfig = true, })
lib/getConfigForFile.mjs:34
↓ 19 callersFunctionhasInterpolation
(string)
lib/utils/hasInterpolation.mjs:12
↓ 19 callersFunctionisValidIdentifier
(ident)
lib/utils/isValidIdentifier.mjs:15
↓ 18 callersFunctioncomment
(css)
lib/utils/__tests__/isSharedLineComment.test.mjs:191
↓ 18 callersFunctionfixturesPath
(...elems)
lib/__tests__/standalone-fix.test.mjs:15
↓ 18 callersFunctiongetAtRuleParams
(atRule)
lib/utils/getAtRuleParams.mjs:5
↓ 18 callersFunctionisNumbery
(value)
lib/utils/isNumbery.mjs:7
↓ 18 callersFunctionlessNode
(code)
lib/utils/__tests__/isStandardSyntaxRule.test.mjs:6
↓ 18 callersFunctionpostcssPlugin
(options = {})
lib/postcssPlugin.mjs:13
↓ 18 callersFunctiontag
(css)
lib/utils/__tests__/isStandardSyntaxTypeSelector.test.mjs:66
↓ 17 callersFunctionaddSemicolonForEditInfo
(node, fixData)
lib/utils/addSemicolonForEditInfo.mjs:11
↓ 17 callersFunctioncontainsString
(input, comparison)
lib/utils/containsString.mjs:17
↓ 17 callersFunctionfunctionArgumentsSearch
(source, functionName, callback)
lib/utils/functionArgumentsSearch.mjs:23
↓ 17 callersFunctionisStandardSyntaxCombinator
(node)
lib/utils/isStandardSyntaxCombinator.mjs:9
↓ 17 callersFunctionscssDecl
(css)
lib/utils/__tests__/isStandardSyntaxDeclaration.test.mjs:189
↓ 17 callersFunctionsetDeclarationValue
(decl, value)
lib/utils/setDeclarationValue.mjs:8
↓ 16 callersFunctionapplyOverrides
(fullConfig, rootConfigDir, filePath, cache, configFilePath)
lib/augmentConfig.mjs:597
↓ 16 callersFunctionfindAnimationName
(value)
lib/utils/findAnimationName.mjs:18
↓ 16 callersFunctionisRoot
(node)
lib/utils/typeGuards.mjs:9
↓ 16 callersFunctionisStandardSyntaxColorFunction
(node)
lib/utils/isStandardSyntaxColorFunction.mjs:10
↓ 16 callersFunctionisStandardSyntaxKeyframesName
(keyframesName)
lib/utils/isStandardSyntaxKeyframesName.mjs:9
↓ 16 callersFunctionisValidHex
(value)
lib/utils/isValidHex.mjs:9
↓ 16 callersFunctionsafeChdir
(dir)
lib/testUtils/safeChdir.mjs:13
↓ 16 callersFunctionvalidateObjectWithArrayProps
(...validators)
lib/utils/validateObjectWithArrayProps.mjs:19
↓ 15 callersFunctioncreateStylelint
(options = {})
lib/createStylelint.mjs:14
↓ 15 callersFunctionisBoolean
(value)
lib/utils/validateTypes.mjs:6
↓ 15 callersFunctionisNumber
(value)
lib/utils/validateTypes.mjs:34
↓ 15 callersFunctionisVariable
(word)
lib/utils/isVariable.mjs:7
↓ 15 callersFunctionpostcssCheck
(options, cssString, parser)
lib/utils/__tests__/beforeBlockString.test.mjs:80
↓ 14 callersFunctioncombinator
(css)
lib/utils/__tests__/isStandardSyntaxCombinator.test.mjs:53
↓ 14 callersFunctionfunc
(css)
lib/utils/__tests__/isStandardSyntaxColorFunction.test.mjs:73
↓ 14 callersFunctionisUrlFunction
(node)
lib/utils/isUrlFunction.mjs:7
↓ 14 callersFunctionpluralize
(singular, count)
lib/utils/pluralize.mjs:8
↓ 14 callersFunctionrule
(css)
lib/utils/__tests__/nodeFieldIndices.test.mjs:253
↓ 14 callersFunctionvalidate
(node, value, getIndex)
lib/rules/no-irregular-whitespace/index.mjs:104
↓ 13 callersFunctiondecl
(css)
lib/utils/__tests__/nodeFieldIndices.test.mjs:245
next →1–100 of 980, ranked by callers