MCPcopy Create free account

hub / github.com/stylelint/stylelint / functions

Functions980 in github.com/stylelint/stylelint

↓ 6 callersFunctionisValueSpace
(node)
lib/utils/typeGuards.mjs:73
↓ 6 callersFunctionisVarFunction
(node)
lib/utils/isVarFunction.mjs:7
↓ 6 callersFunctionlessDecl
(css)
lib/utils/__tests__/isStandardSyntaxDeclaration.test.mjs:193
↓ 6 callersFunctionline
* Create a horizontal line. * * @param {number} [length] * @returns {string}
scripts/benchmarking/reporter.mjs:51
↓ 6 callersFunctionnodesIn
(css)
lib/utils/__tests__/isDescriptorDeclaration.test.mjs:50
↓ 6 callersFunctionnormalize
* @template {Root | Selector} T * @param {T} node * @returns {T}
lib/utils/normalizeSelector.mjs:71
↓ 6 callersFunctionnormalizeSelector
* @param {string} selector * @returns {string}
lib/rules/no-irregular-whitespace/index.mjs:216
↓ 6 callersFunctionruleIsDisabled
* @param {string} ruleName * @returns {boolean}
lib/assignDisabledRanges.mjs:470
↓ 6 callersFunctionsectionHeader
(title, width = WIDTH.narrow, options = {})
scripts/benchmarking/reporter.mjs:84
↓ 6 callersFunctiontoPath
(cwd)
lib/utils/toPath.mjs:21
↓ 5 callersFunctioncaseCode
(caseNumber, ext = 'css')
system-tests/systemTestUtils.mjs:25
↓ 5 callersFunctioncaseConfig
(caseNumber)
system-tests/systemTestUtils.mjs:21
↓ 5 callersFunctioncontainsNestingSelector
(selector)
lib/utils/containsNestingSelector.mjs:7
↓ 5 callersFunctionendDisabledRange
* @param {number} line * @param {string} ruleName * @param {boolean} strict
lib/assignDisabledRanges.mjs:442
↓ 5 callersFunctionfilterFilePaths
(ignorer, filePaths)
lib/utils/filterFilePaths.mjs:8
↓ 5 callersFunctionfindAtRuleContext
(rule)
lib/utils/findAtRuleContext.mjs:11
↓ 5 callersFunctionfixEmptyLinesBefore
({ node, newline, action })
lib/utils/fixEmptyLinesBefore.mjs:13
↓ 5 callersFunctiongetPostcssResult
(stylelint, { customSyntax, filePath, code } = {})
lib/getPostcssResult.mjs:19
↓ 5 callersFunctiongetSelectorSourceIndex
(node)
lib/utils/getSelectorSourceIndex.mjs:8
↓ 5 callersFunctionhasSource
(node)
lib/utils/typeGuards.mjs:105
↓ 5 callersFunctionheader
(title, width = WIDTH.default)
scripts/benchmarking/reporter.mjs:72
↓ 5 callersFunctionisDocument
(node)
lib/utils/typeGuards.mjs:49
↓ 5 callersFunctionisMathFunction
(node)
lib/utils/isMathFunction.mjs:10
↓ 5 callersFunctionisNot
(node)
lib/rules/selector-not-notation/index.mjs:42
↓ 5 callersFunctionisOnlyWhitespace
(input)
lib/utils/isOnlyWhitespace.mjs:9
↓ 5 callersFunctionpostcssCheck
(cssString)
lib/utils/__tests__/blockString.test.mjs:20
↓ 5 callersFunctionreportCommentProblem
({ rule, message, severity, node, postcssResult })
lib/utils/reportCommentProblem.mjs:13
↓ 5 callersFunctionruleAfterIndex
(rule)
lib/utils/nodeFieldIndices.mjs:95
↓ 5 callersFunctionterminalLink
(text, url)
lib/formatters/terminalLink.mjs:15
↓ 4 callersFunctionabsolutizeGlob
* @param {string} glob * @param {string} basedir * @returns {string}
lib/augmentConfig.mjs:32
↓ 4 callersFunctionatRules
(code, parser = postcss)
lib/utils/__tests__/isStandardSyntaxAtRule.test.mjs:88
↓ 4 callersFunctionavg
(values)
scripts/benchmarking/benchmark.mjs:190
↓ 4 callersFunctionblockString
(statement)
lib/utils/blockString.mjs:13
↓ 4 callersFunctioncheckInvalidCLIOptions
(allowedOptions, inputOptions)
lib/utils/checkInvalidCLIOptions.mjs:93
↓ 4 callersFunctioncommaSeparated
* @param {string | undefined} input * @returns {string[]}
lib/rules/declaration-block-no-redundant-longhand-properties/index.mjs:341
↓ 4 callersFunctioncomplain
* @param {string} message * @param {number} index * @param {number} endIndex
lib/rules/comment-whitespace-inside/index.mjs:114
↓ 4 callersFunctioncomplain
* @param {string} type * @param {string} name * @param {import('postcss').Declaration} decl * @param {number} index * @param {number} endI
lib/rules/property-layout-mappings/index.mjs:187
↓ 4 callersFunctioncomplain
* @param {messages[keyof messages]} message * @param {import('postcss').Node} node * @param {number} index * @param {string} operator * @p
lib/rules/function-calc-no-unspaced-operator/index.mjs:74
↓ 4 callersFunctiondirectionFlowToSides
(flow)
lib/utils/directionFlowToSides.mjs:19
↓ 4 callersFunctiondoubleLine
* Create a double horizontal line. * * @param {number} [length] * @returns {string}
scripts/benchmarking/reporter.mjs:61
↓ 4 callersFunctioneachDeclarationBlock
(root, callback)
lib/utils/eachDeclarationBlock.mjs:27
↓ 4 callersFunctionfindNotContiguousOrRectangular
(areas)
lib/rules/named-grid-areas-no-invalid/utils/findNotContiguousOrRectangular.mjs:55
↓ 4 callersFunctionfixDeclarationValue
()
lib/rules/function-calc-no-unspaced-operator/index.mjs:102
↓ 4 callersFunctionfixture
(...elem)
lib/__tests__/normalizeRuleSettings-integration.test.mjs:6
↓ 4 callersFunctiongetCommandRules
* @param {string} command * @param {string} fullText * @returns {string[]}
lib/assignDisabledRanges.mjs:388
↓ 4 callersFunctiongetConfigWithCache
(additional = {})
lib/__tests__/standalone-cache.test.mjs:264
↓ 4 callersFunctiongetLexer
(config, additionalSyntax)
lib/utils/getLexer.mjs:22
↓ 4 callersFunctiongetNodeLine
* @param {Node | void} node
lib/utils/getNextNonSharedLineCommentNode.mjs:8
↓ 4 callersFunctiongetNodeLine
* @param {Node} node
lib/utils/getPreviousNonSharedLineCommentNode.mjs:8
↓ 4 callersFunctionhasChildren
(node)
lib/rules/declaration-block-no-duplicate-properties/index.mjs:31
↓ 4 callersMethodload
* Loads the suppressions file. * @throws {Error} If the suppressions file cannot be parsed. * @returns {Promise<SuppressedProblems>} The suppressi
lib/utils/suppressionsService.mjs:241
↓ 4 callersFunctionneedlessDisables
(warnings)
lib/__tests__/needlessDisables.test.mjs:461
↓ 4 callersFunctionnewWhitespaceNode
* @param {string} whitespace
lib/rules/function-calc-no-unspaced-operator/index.mjs:408
↓ 4 callersFunctionpathExists
(path)
lib/utils/pathExists.mjs:8
↓ 4 callersFunctionpreprocessWarnings
(result)
lib/formatters/preprocessWarnings.mjs:15
↓ 4 callersFunctionresolveOptionValue
({ stylelint, name, default: defaultValue = undefined, })
lib/utils/resolveOptionValue.mjs:15
↓ 4 callersFunctionstartDisabledRange
* @param {PostcssNode} node * @param {number} line * @param {string} ruleName * @param {boolean} strict * @param {string|undefined} descriptio
lib/assignDisabledRanges.mjs:426
↓ 4 callersFunctionstringifyCondition
* @param {Node | Array<Node>} node * @returns {string}
lib/rules/no-duplicate-at-import-rules/index.mjs:87
↓ 4 callersFunctionunscopedWarnings
(result)
lib/__tests__/unscopedDisables.test.mjs:198
↓ 4 callersFunctionvalidateDisableSettings
(result, field)
lib/validateDisableSettings.mjs:18
↓ 3 callersFunctionappendRuleName
(string, ruleName)
lib/utils/appendRuleName.mjs:11
↓ 3 callersFunctionassignDisabledRanges
(root, result)
lib/assignDisabledRanges.mjs:48
↓ 3 callersFunctionatLeastOneSpace
* @param {string} whitespace
lib/rules/color-function-notation/index.mjs:136
↓ 3 callersFunctionbeforeBlockString
(statement, { noRawBefore } = { noRawBefore: false })
lib/utils/beforeBlockString.mjs:8
↓ 3 callersFunctioncalcSeverityCounts
(severity, counts)
lib/formatters/calcSeverityCounts.mjs:10
↓ 3 callersFunctioncanCondense
* @param {string} top * @param {string} right * @param {string} bottom * @param {string} left * @returns {string[]}
lib/rules/shorthand-property-no-redundant-values/index.mjs:61
↓ 3 callersFunctioncaseFilePath
(caseNumber, fileName = 'stylesheet')
system-tests/systemTestUtils.mjs:9
↓ 3 callersFunctioncaseFilesForFix
(caseNumber, ext = 'css')
system-tests/systemTestUtils.mjs:29
↓ 3 callersFunctioncheck
* @template {import('postcss').AtRule | import('postcss').Rule | import('postcss').Declaration} T * @param {T} node * @param {string} value *
lib/rules/string-no-newline/index.mjs:83
↓ 3 callersFunctioncheck
* @param {string} property * @returns {boolean}
lib/rules/custom-property-pattern/index.mjs:39
↓ 3 callersFunctioncheckComment
* @param {PostcssNode} node * @param {Source | undefined} source * @param {string} text
lib/assignDisabledRanges.mjs:359
↓ 3 callersFunctioncommentNode
(text)
lib/utils/__tests__/configurationComment.test.mjs:39
↓ 3 callersFunctioncomplain
* @param {typeof messages[keyof messages]} message * @param {Array<string>} messageArgs * @param {number} index * @param {number} endIndex
lib/rules/named-grid-areas-no-invalid/index.mjs:100
↓ 3 callersFunctioncomplain
* @param {PostcssRule} node * @param {string} selector * @param {number} index * @param {number} endIndex * @param {number} previousDuplic
lib/rules/no-duplicate-selectors/index.mjs:67
↓ 3 callersFunctioncomplain
* @param {typeof messages[keyof messages]} message * @param {Array<string>} messageArgs * @param {import('postcss-value-parser').Node} valueNo
lib/rules/font-weight-notation/index.mjs:172
↓ 3 callersFunctioncomplain
* @param {string} type * @param {string} keyword * @param {number} index * @param {number} endIndex * @param {import('postcss').Declaratio
lib/rules/value-keyword-layout-mappings/index.mjs:150
↓ 3 callersFunctioncomplain
* @param {number} index * @param {string} propName * @param {import('postcss').Declaration|import('postcss').AtRule} node
lib/rules/custom-property-pattern/index.mjs:83
↓ 3 callersFunctioncreateDisableRange
* @param {PostcssNode} node * @param {number} start * @param {boolean} strictStart * @param {string|undefined} description * @param {number} [end]
lib/assignDisabledRanges.mjs:31
↓ 3 callersFunctioncreatePartialStylelintResult
(postcssResult, cssSyntaxError)
lib/createPartialStylelintResult.mjs:11
↓ 3 callersFunctioneachNodeUpToRoot
(node, callback)
lib/utils/eachNodeUpToRoot.mjs:14
↓ 3 callersFunctionexistsFile
* Checks whether the given file exists as a file. * @param {string} filename The file to check. * @returns {boolean} `true` if the file exists and i
lib/utils/resolveSilent.mjs:88
↓ 3 callersFunctionfindMediaFeatureNames
(mediaQueryParams, callback)
lib/utils/findMediaFeatureNames.mjs:34
↓ 3 callersFunctionfixOrReport
()
lib/rules/declaration-block-no-duplicate-properties/index.mjs:228
↓ 3 callersFunctionformatBytes
* Format bytes to human readable string. * * @param {number} bytes * @returns {string}
scripts/benchmarking/reporter.mjs:11
↓ 3 callersFunctionformatter
* @param {import('stylelint').Warning[]} messages * @param {string} source * @param {string} cwd * @returns {string}
lib/formatters/stringFormatter.mjs:138
↓ 3 callersFunctiongetDescription
* @param {string} fullText * @returns {string|undefined}
lib/assignDisabledRanges.mjs:411
↓ 3 callersFunctiongetFormatterOptionsText
(separator, quote = '')
lib/utils/getFormatterOptionsText.mjs:8
↓ 3 callersFunctiongetFromMap
* @param {Map<string, string>} map * @param {string} key * @returns {string}
lib/rules/keyframe-selector-notation/index.mjs:176
↓ 3 callersFunctiongetStylelintRule
(ruleName, config)
lib/utils/getStylelintRule.mjs:8
↓ 3 callersFunctionisFixObject
* @param {unknown} value * @returns {value is FixObject}
lib/utils/report.mjs:313
↓ 3 callersFunctionisHexColor
* @param {import('postcss-value-parser').Node} node
lib/rules/color-no-hex/index.mjs:63
↓ 3 callersFunctionisNullish
(value)
lib/utils/validateTypes.mjs:25
↓ 3 callersFunctionisPathLike
* @param {string} lookup * @returns {boolean}
lib/augmentConfig.mjs:43
↓ 3 callersFunctionisRegExp
(value)
lib/utils/validateTypes.mjs:52
↓ 3 callersFunctionisSelectorContainingPseudoClass
(node)
lib/rules/selector-no-qualifying-type/isSelectorContainingPseudoClass.mjs:11
↓ 3 callersFunctionisStandardSyntaxHexColor
(hex)
lib/utils/isStandardSyntaxHexColor.mjs:7
↓ 3 callersFunctionisValidFontSynthesisValue
(s)
lib/rules/declaration-block-no-redundant-longhand-properties/index.mjs:42
↓ 3 callersFunctionisWhitespace
(char)
lib/utils/isWhitespace.mjs:7
↓ 3 callersFunctionlessAtRules
(code)
lib/utils/__tests__/isStandardSyntaxAtRule.test.mjs:108
↓ 3 callersFunctionlintSource
(stylelint, options = {})
lib/lintSource.mjs:27
← previousnext →201–300 of 980, ranked by callers