<commit_before>'use strict'

const standard = require('stylelint-config-standard')

module.exports = {
  rules: Object.assign({}, standard.rules, {
    // don't care about these
    'color-hex-case': null,
    'color-hex-length': null,
    'string-quotes': null, // who cares
    'block-no-empty': null, // need this for CSS modules sometimes

    // ignores comments
    'rule-nested-empty-line-before': ['always-multi-line', {
      except: ['first-nested'],
      ignore: ['after-comment']
    }],
    'rule-non-nested-empty-line-before': ['always-multi-line', {
      ignore: ['after-comment']
    }],

    // CSS modules support
    'selector-pseudo-class-no-unknown': [
      true, {
        ignorePseudoClasses: [
          'local',
          'global'
        ]
      }
    ],

    // does not handle specific cases
    'selector-pseudo-class-parentheses-space-inside': null,

    'property-no-unknown': [true, {
      ignoreProperties: [
        'composes',
        'backdrop-filter'
      ]
    }],

    'declaration-empty-line-before': null
  })
}<commit_msg>rules++<commit_after>'use strict'

const standard = require('stylelint-config-standard')

module.exports = {
  rules: Object.assign({}, standard.rules, {
    // don't care about these
    'color-hex-case': null,
    'color-hex-length': null,
    'string-quotes': null, // who cares
    'block-no-empty': null, // need this for CSS modules sometimes

    // CSS modules support
    'selector-pseudo-class-no-unknown': [
      true, {
        ignorePseudoClasses: [
          'local',
          'global'
        ]
      }
    ],

    // does not handle specific cases
    'selector-pseudo-class-parentheses-space-inside': null,

    'property-no-unknown': [true, {
      ignoreProperties: [
        'composes',
        'backdrop-filter'
      ]
    }],

    'declaration-empty-line-before': null
  })
}
{'fraction_non_alphanumeric': 0.15623327982878546, 'fraction_numerical': 0.0, 'mean_word_length': 2.2980599647266313, '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': '4279978', 'n_tokens_mistral': 592, 'n_tokens_neox': 580, 'n_words': 114}