<commit_before>@mixin component($component)
  .ais-#{$component}
    @content

@mixin modifier($modifier)
  &--#{$modifier}
    @content

@mixin element($element)
  &__#{$element}
    @content
<commit_msg>chore(sass): add a `bem` mixin that does everything without nesting<commit_after>@mixin component($component)
  .ais-#{$component}
    @content

@mixin modifier($modifier)
  &--#{$modifier}
    @content

@mixin element($element)
  &__#{$element}
    @content

@mixin bem($component, $modifier, $element: '')
  +component($component)
    +modifier($modifier)
      @if $element != ''
        +element($element)
          @content
      @else
        @content

{'fraction_non_alphanumeric': 0.16440422322775264, 'fraction_numerical': 0.0, 'mean_word_length': 3.676056338028169, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1257465', 'n_tokens_mistral': 226, 'n_tokens_neox': 218, 'n_words': 45}