Fork of Plyr
css
npm

.stylelintrc.json 862B

12345678910111213141516171819202122232425
  1. {
  2. "plugins": ["stylelint-selector-bem-pattern", "stylelint-scss"],
  3. "extends": ["stylelint-config-recommended", "stylelint-config-sass-guidelines", "stylelint-config-prettier"],
  4. "rules": {
  5. "selector-class-pattern": null,
  6. "selector-no-qualifying-type": [
  7. true,
  8. {
  9. "ignore": ["attribute", "class"]
  10. }
  11. ],
  12. "string-no-newline": null,
  13. "indentation": 4,
  14. "string-quotes": "single",
  15. "max-nesting-depth": 2,
  16. "plugin/selector-bem-pattern": {
  17. "preset": "bem",
  18. "componentName": "(([a-z0-9]+(?!-$)-?)+)",
  19. "componentSelectors": {
  20. "initial": "\\.{componentName}(((__|--)(([a-z0-9\\[\\]'=]+(?!-$)-?)+))+)?$"
  21. },
  22. "ignoreSelectors": [".*\\.has-.*", ".*\\.is-.*"]
  23. }
  24. }
  25. }