MCPcopy Create free account

hub / github.com/stylelint/stylelint / functions

Functions980 in github.com/stylelint/stylelint

↓ 1 callersFunctiondeprecationsFormatter
* @param {import('stylelint').LintResult[]} results * @returns {string}
lib/formatters/stringFormatter.mjs:48
↓ 1 callersFunctiondescriptionlessDisables
(postcssResult)
lib/descriptionlessDisables.mjs:11
↓ 1 callersMethoddestroy
()
lib/utils/FileCache.mjs:105
↓ 1 callersFunctiondisplay
* Display the timing data. * @param {{ [key: string]: number }} data Data object to be displayed. * @returns {void} * @private
lib/timing.mjs:71
↓ 1 callersFunctioneach
* @param {PostcssNode} statement * * @returns {void}
lib/utils/eachDeclarationBlock.mjs:33
↓ 1 callersFunctionendTime
* End time measurement. * @param {bigint} start Variable for tracking time in nanoseconds. * @returns {number} The measured time in milliseconds.
lib/timing.mjs:20
↓ 1 callersFunctionensureRuleRanges
* @param {string} ruleName
lib/assignDisabledRanges.mjs:458
↓ 1 callersFunctionexpectDisableRange
(actual, expected)
lib/__tests__/disableRanges.test.mjs:1210
↓ 1 callersFunctionextendConfig
* @param {StylelintInternalApi} stylelint * @param {StylelintConfig} config * @param {string} configDir * @param {string} rootConfigDir * @param {
lib/augmentConfig.mjs:238
↓ 1 callersFunctionextractSuggestions
* @param {string} ruleName * @returns {string[]}
lib/reportUnknownRuleNames.mjs:13
↓ 1 callersFunctionfileLink
* @param {string | undefined} source * @returns {string}
lib/formatters/verboseFormatter.mjs:135
↓ 1 callersFunctionfindAlphaInFunction
* @param {import('postcss-value-parser').FunctionNode} node * @returns {import('postcss-value-parser').Node | undefined}
lib/rules/alpha-value-notation/index.mjs:164
↓ 1 callersFunctionfindAlphaInValue
* @template {import('postcss-value-parser').Node} T * @param {T} node * @returns {T | undefined}
lib/rules/alpha-value-notation/index.mjs:156
↓ 1 callersFunctionfindBotComment
(issueNumber)
scripts/pkg.pr.new-custom-comment.mjs:71
↓ 1 callersFunctionfindHue
* @param {import('postcss-value-parser').FunctionNode} node
lib/rules/hue-degree-notation/index.mjs:101
↓ 1 callersFunctionfindIrregularWhitespace
(str)
lib/rules/no-irregular-whitespace/index.mjs:76
↓ 1 callersFunctionfindLightness
* @param {import('postcss-value-parser').FunctionNode} node
lib/rules/lightness-notation/index.mjs:156
↓ 1 callersFunctionfixComplex
* @param {Pseudo} previousNot * @param {Rule} ruleNode * @param {Root} selectorRoot
lib/rules/selector-not-notation/index.mjs:179
↓ 1 callersFunctionfixExplicit
* Fix selector to use explicit nesting notation * * @param {import('postcss-selector-parser').Selector} selector * @param {import('postcss').Rule}
lib/rules/relative-selector-nesting-notation/index.mjs:125
↓ 1 callersFunctionfixImplicit
* Fix selector to use implicit nesting notation * * @param {import('postcss-selector-parser').Selector} selector * @param {import('postcss').Rule}
lib/rules/relative-selector-nesting-notation/index.mjs:153
↓ 1 callersFunctionfixSimple
* @param {Pseudo} not * @param {Rule} ruleNode * @param {Root} selectorRoot
lib/rules/selector-not-notation/index.mjs:145
↓ 1 callersFunctionfixValue
* @param {Array<CSSToken>} originalValue * @param {TokenIdent} firstKeyword * @param {TokenIdent} lastKeyword * @param {Array<string>} replacement
lib/rules/display-notation/index.mjs:196
↓ 1 callersFunctionfixturesPath
(...elems)
lib/__tests__/standalone-formatter.test.mjs:16
↓ 1 callersFunctionformatMessageText
* @param {import('stylelint').Warning} message * @returns {string}
lib/formatters/stringFormatter.mjs:174
↓ 1 callersFunctiongenerateCSSContent
* Generate CSS content from templates. * * @param {string} name Component name * @returns {string}
scripts/benchmarking/generateWorkspace.mjs:91
↓ 1 callersFunctiongenerateConfig
* Generate stylelint config. * * @param {Object} options Configuration options. * @param {number} options.rules Number of rules. * @param {number}
scripts/benchmarking/generateWorkspace.mjs:140
↓ 1 callersFunctiongenerateDirectoryTree
* Generate directory structure. * * @param {string} baseDir Base directory. * @param {number} depth Current depth. * @param {number} maxDepth Maxi
scripts/benchmarking/generateWorkspace.mjs:106
↓ 1 callersFunctiongenerateExtendedConfig
(configDir, index, ruleCount)
scripts/benchmarking/generateExtensions.mjs:153
↓ 1 callersFunctiongeneratePlugin
(pluginDir, index)
scripts/benchmarking/generateExtensions.mjs:88
↓ 1 callersFunctiongeneratePlugins
(pluginDir, count)
scripts/benchmarking/generateExtensions.mjs:133
↓ 1 callersFunctiongenerateSyntax
(syntaxDir, name, extension)
scripts/benchmarking/generateExtensions.mjs:20
↓ 1 callersFunctiongenerateSyntaxes
(syntaxDir, count)
scripts/benchmarking/generateExtensions.mjs:59
↓ 1 callersFunctiongetAugmentedConfigCacheKey
* Creates a cache key for the augmented config cache. * * @param {string} configPath Path to the config file * @param {string} filePath Path to the
lib/getConfigForFile.mjs:16
↓ 1 callersFunctiongetCachedRule
* Returns a cached Promise for the rule, avoiding async overhead for rules that * have already been loaded. * * @param {string} ruleName * @return
lib/rules/index.mjs:11
↓ 1 callersFunctiongetCompoundSelectors
(root)
lib/rules/selector-no-qualifying-type/getCompoundSelectors.mjs:15
↓ 1 callersFunctiongetConfigurationComment
( command, configurationComment = DEFAULT_CONFIGURATION_COMMENT, )
lib/utils/configurationComment.mjs:69
↓ 1 callersFunctiongetEscapedSource
* Apply TAP escaping to the source that is part of the test point description * @see {@link https://testanything.org/tap-version-14-specification.htm
lib/formatters/tapFormatter.mjs:66
↓ 1 callersFunctiongetFix
* @param {Declaration|AtRule} node * @param {FunctionNode} fn * @param {keyof messages} messageType * @param {ParsedValue} parsedValue
lib/rules/function-url-quotes/index.mjs:67
↓ 1 callersFunctiongetFixedRules
@param {LintResult[]} results
lib/formatters/verboseFormatter.mjs:157
↓ 1 callersFunctiongetFormatter
(stylelint)
lib/utils/getFormatter.mjs:15
↓ 1 callersFunctiongetLastConsecutiveNot
({ parent, sourceIndex })
lib/rules/selector-not-notation/index.mjs:128
↓ 1 callersFunctiongetListSize
* Decide how many rules to show in the output list. * @returns {number} The number of rules to show.
lib/timing.mjs:32
↓ 1 callersFunctiongetMemoryResult
* Get peak memory usage from the memory worker. If the worker doesn't respond * within a reasonable time, returns 0 to avoid hanging the benchmark.
scripts/benchmarking/benchmark.mjs:39
↓ 1 callersFunctiongetMessageWidth
* @param {{[k: number]: number}} columnWidths * @returns {number}
lib/formatters/stringFormatter.mjs:112
↓ 1 callersFunctiongetOriginalCompound
* @param {Node} node * @returns {Array<Node>}
lib/rules/selector-no-qualifying-type/index.mjs:38
↓ 1 callersFunctiongetProblemRange
* @param {Problem} problem * @returns {Range}
lib/utils/report.mjs:112
↓ 1 callersFunctiongetPullRequestNumber
()
scripts/pkg.pr.new-custom-comment.mjs:67
↓ 1 callersFunctiongetReferenceRoots
(config)
lib/utils/getReferenceRoots.mjs:16
↓ 1 callersFunctiongetRuleMetadata
* @param {LintResult[]} lintResults
lib/prepareReturnValue.mjs:55
↓ 1 callersFunctiongetSelectorsInBlock
* @param {import('postcss').AtRule} atRule * @returns {string[]}
lib/rules/keyframe-selector-notation/index.mjs:188
↓ 1 callersFunctiongetStdin
* @returns {Promise<string | undefined>}
lib/cli.mjs:691
↓ 1 callersFunctiongetYarnVersion
* Get the Yarn version from a template package.json packageManager field. * @param {FixtureType} fixtureType * @returns {Promise<string>} The Yarn v
system-tests/006/yarn-pnp.test.mjs:47
↓ 1 callersFunctiongroupByCompoundSelectorsRecursive
* @param {Selector} selector * @returns {{ terminatedCompoundSelectors: Array<Array<NonSelector>>, currentCompoundSelectors: Array<Array<NonSelector>
lib/rules/selector-no-qualifying-type/getCompoundSelectors.mjs:69
↓ 1 callersFunctionhasChildCombinatorBefore
* @param {SelectorNode} node * @returns {boolean}
lib/rules/selector-max-type/index.mjs:183
↓ 1 callersFunctionhasCompoundSelector
* @param {SelectorNode} node * @returns {boolean}
lib/rules/selector-max-type/index.mjs:195
↓ 1 callersFunctionhasDeclaration
* Specificity only has an effect on declarations. * We only want to check rules that contain declarations either directly or in nested at-rules. *
lib/rules/no-descending-specificity/index.mjs:190
↓ 1 callersFunctionhasDescendantCombinatorBefore
* @param {SelectorNode} node * @returns {boolean}
lib/rules/selector-max-type/index.mjs:141
↓ 1 callersMethodhasFileChanged
* @param {string} absoluteFilepath * @returns {boolean}
lib/utils/FileCache.mjs:67
↓ 1 callersFunctionhasImplicitDescendantCombinator
* @param {SelectorNode} node * @param {Rule} ruleNode * @returns {boolean}
lib/rules/selector-max-type/index.mjs:156
↓ 1 callersFunctionhasIndices
* @param {unknown} value * @returns {value is { index: number, endIndex: number }}
lib/utils/report.mjs:299
↓ 1 callersFunctionhasMixedImportant
* @param {Declaration[]} decls * @returns {boolean}
lib/rules/declaration-block-no-redundant-longhand-properties/index.mjs:371
↓ 1 callersFunctionhasNestedWebkitScrollbarAncestor
* @param {import('postcss').Node} node * @param {import('stylelint').PostcssResult} result * @returns {boolean}
lib/rules/selector-pseudo-class-no-unknown/index.mjs:42
↓ 1 callersFunctionhasNextSiblingCombinator
* @param {SelectorNode} node * @returns {boolean}
lib/rules/selector-max-type/index.mjs:211
↓ 1 callersFunctionhasNonWhitespace
* @param {Statement} statement * @returns {boolean}
lib/rules/block-no-empty/index.mjs:105
↓ 1 callersFunctionhasNotableChild
* @param {Statement} statement * @returns {boolean}
lib/rules/block-no-empty/index.mjs:89
↓ 1 callersFunctionhasPrevPropertyDeclaration
* @param {import('postcss').Declaration} decl * @returns {boolean}
lib/rules/function-allowed-list/index.mjs:92
↓ 1 callersFunctionhasRequiredAtRuleAncestor
* Check if rule has a required at-rule ancestor * Traverses up the PostCSS AST tree from the rule to find * if any parent node is an at-rule that ma
lib/rules/rule-nesting-at-rule-required-list/index.mjs:62
↓ 1 callersFunctionhasUrlModifier
* @param {FunctionNode} funcNode * @returns {boolean}
lib/rules/function-url-quotes/index.mjs:232
↓ 1 callersFunctionimportCustomFormatter
* @param {string} fileOrModulePath * @returns {Promise<import('stylelint').Formatter>}
lib/cli.mjs:711
↓ 1 callersFunctionincrementFixCounter
* @param {object} o * @param {StylelintPostcssResult['fixersData']} o.fixersData * @param {string} o.ruleName
lib/utils/report.mjs:290
↓ 1 callersMethodinsertOperatorAfterFirstOperand
* @param {ContainerNode} node
lib/rules/function-calc-no-unspaced-operator/index.mjs:465
↓ 1 callersMethodinsertOperatorBeforeSecondOperand
* @param {ContainerNode} node
lib/rules/function-calc-no-unspaced-operator/index.mjs:473
↓ 1 callersMethodinsertWhitespace
* @param {ContainerNode} node * @param {'before' | 'after'} position
lib/rules/function-calc-no-unspaced-operator/index.mjs:453
↓ 1 callersFunctioninvalidOptionsFormatter
* @param {import('stylelint').LintResult[]} results * @returns {string}
lib/formatters/stringFormatter.mjs:79
↓ 1 callersFunctioninvalidScopeDisables
(postcssResult)
lib/invalidScopeDisables.mjs:11
↓ 1 callersFunctionisAnnotation
* @param {valueParser.Node} node
lib/rules/annotation-no-unknown/index.mjs:80
↓ 1 callersFunctionisArgumentOfIgnoredPseudoClass
@param {import('postcss-selector-parser').Tag} tag
lib/rules/selector-type-no-unknown/index.mjs:139
↓ 1 callersFunctionisArgumentOfIgnoredPseudoElement
@param {import('postcss-selector-parser').Tag} tag
lib/rules/selector-type-no-unknown/index.mjs:132
↓ 1 callersFunctionisAtRuleAfterSameNameAtRule
* @param {import('postcss').AtRule} atRule
lib/rules/at-rule-empty-line-before/index.mjs:169
↓ 1 callersFunctionisBuiltInRule
* @param {string} ruleName * @returns {ruleName is keyof rules}
lib/utils/getStylelintRule.mjs:20
↓ 1 callersFunctionisChildCombinator
* @param {SelectorNode | undefined} node * @returns {boolean}
lib/rules/selector-max-type/index.mjs:229
↓ 1 callersFunctionisConfig
* @param {PostcssPluginOptions} options * @returns {options is StylelintConfig}
lib/postcssPlugin.mjs:48
↓ 1 callersFunctionisContainerNode
* @param {PostcssNode} node * @returns {node is PostcssContainerNode}
lib/utils/eachDeclarationBlock.mjs:10
↓ 1 callersFunctionisContiguousAndRectangular
* @param {string[][]} areas * @param {string} name * @returns {boolean}
lib/rules/named-grid-areas-no-invalid/utils/findNotContiguousOrRectangular.mjs:8
↓ 1 callersFunctionisDescendantCombinator
* @param {SelectorNode | undefined} node * @returns {boolean}
lib/rules/selector-max-type/index.mjs:219
↓ 1 callersFunctionisEqualValueNodes
(nodes1, nodes2, property)
lib/rules/declaration-block-no-duplicate-properties/index.mjs:34
↓ 1 callersFunctionisEqualValueSyntaxes
(value1, value2, property)
lib/rules/declaration-block-no-duplicate-properties/index.mjs:103
↓ 1 callersFunctionisFixApplied
* @param {Problem} problem * @param {number} line * @returns {boolean}
lib/utils/report.mjs:206
↓ 1 callersFunctionisFixCompatible
* using context.fix instead of the fix callback has the drawback * of not honouring the configuration comments in subtle ways * @see file://./../doc
lib/lintPostcssResult.mjs:165
↓ 1 callersFunctionisFlex
* @param {string} prop
lib/rules/length-zero-no-unit/index.mjs:185
↓ 1 callersFunctionisFontFeatureValueType
* @param {import('postcss').AtRule} atRule * @param {import('postcss').AtRule} parent * @returns {boolean}
lib/rules/at-rule-descriptor-no-unknown/index.mjs:77
↓ 1 callersFunctionisFraction
* @param {string} unit
lib/rules/length-zero-no-unit/index.mjs:199
↓ 1 callersFunctionisHexColor
(node)
lib/utils/isHexColor.mjs:8
↓ 1 callersFunctionisIgnoreRule
(node)
lib/rules/max-nesting-depth/index.mjs:33
↓ 1 callersFunctionisIgnoredAtRule
(node)
lib/rules/no-invalid-position-declaration/index.mjs:44
↓ 1 callersFunctionisIgnoredProperty
* @param {string} propertyName * @returns {boolean}
lib/rules/time-min-milliseconds/index.mjs:105
↓ 1 callersFunctionisInDocument
* @param {import('postcss').Node} node * @returns {boolean}
lib/utils/isFirstNested.mjs:81
↓ 1 callersFunctionisInIgnoredContextFunctionalPseudoClass
* Return true if the node is inside an ignored context-functional pseudo-class * * @param {import('postcss-selector-parser').Node} node * @re
lib/rules/selector-max-id/index.mjs:53
↓ 1 callersFunctionisLastFontFamilyVariable
(value)
lib/rules/font-family-no-missing-generic-family-keyword/index.mjs:31
↓ 1 callersFunctionisLength
* @param {string} unit
lib/rules/length-zero-no-unit/index.mjs:192
← previousnext →501–600 of 980, ranked by callers