{
    "plugins": ["stylelint-selector-bem-pattern", "stylelint-scss"],
    "extends": ["stylelint-config-recommended", "stylelint-config-sass-guidelines", "stylelint-config-prettier"],
    "rules": {
        "selector-class-pattern": null,
        "selector-no-qualifying-type": [
            true,
            {
                "ignore": ["attribute", "class"]
            }
        ],
        "string-no-newline": null,
        "indentation": 4,
        "string-quotes": "single",
        "max-nesting-depth": 2,
        "plugin/selector-bem-pattern": {
            "preset": "bem",
            "componentName": "(([a-z0-9]+(?!-$)-?)+)",
            "componentSelectors": {
                "initial": "\\.{componentName}(((__|--)(([a-z0-9\\[\\]'=]+(?!-$)-?)+))+)?$"
            },
            "ignoreSelectors": [".*\\.has-.*", ".*\\.is-.*"]
        }
    }
}
