/** @type {import('stylelint').Config} */
export default {
  extends: ['stylelint-config-standard-scss', 'stylelint-config-recess-order'],
  rules: {
    'no-duplicate-selectors': null,
    'at-rule-no-unknown': null,
    'no-descending-specificity': null,
    'scss/at-rule-no-unknown': true,
    'selector-type-no-unknown': null,
    'no-invalid-double-slash-comments': null,
    'selector-id-pattern': null,
    'selector-class-pattern': null,
    'keyframes-name-pattern': null,
    'scss/at-mixin-pattern': null,
    'scss/dollar-variable-pattern': null,
    'scss/double-slash-comment-whitespace-inside': null,
    'scss/percent-placeholder-pattern': null,
    'nesting-selector-no-missing-scoping-root': null,
    'order/order': ['custom-properties', 'declarations'],
    'number-max-precision': 5,
  },
  ignoreFiles: ['**/*.html'],
  overrides: [
    {
      files: ['**/*.scss'],
      customSyntax: 'postcss-scss',
    },
  ],
};
