File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22 * @typedef {import('../types.js').Handle } Handle
33 */
44
5- import { checkRuleRepeat } from '../util/check-rule-repeat .js'
5+ import { checkRuleRepetition } from '../util/check-rule-repetition .js'
66import { checkRule } from '../util/check-rule.js'
77
88/**
@@ -11,7 +11,7 @@ import {checkRule} from '../util/check-rule.js'
1111export function thematicBreak ( _ , _1 , context ) {
1212 const value = (
1313 checkRule ( context ) + ( context . options . ruleSpaces ? ' ' : '' )
14- ) . repeat ( checkRuleRepeat ( context ) )
14+ ) . repeat ( checkRuleRepetition ( context ) )
1515
1616 return context . options . ruleSpaces ? value . slice ( 0 , - 1 ) : value
1717}
Original file line number Diff line number Diff line change 77 * @param {Context } context
88 * @returns {Exclude<Options['ruleRepetition'], undefined> }
99 */
10- export function checkRuleRepeat ( context ) {
10+ export function checkRuleRepetition ( context ) {
1111 const repetition = context . options . ruleRepetition || 3
1212
1313 if ( repetition < 3 ) {
You can’t perform that action at this time.
0 commit comments