.stylelintrc.js 698 B

123456789101112131415161718192021222324
  1. module.exports = {
  2. extends: ['stylelint-config-standard', 'stylelint-config-prettier'],
  3. defaultSeverity: 'warning',
  4. customSyntax: '@stylelint/postcss-css-in-js',
  5. rules: {
  6. 'no-empty-source': null,
  7. 'function-name-case': null,
  8. 'custom-property-empty-line-before': null,
  9. 'unit-no-unknown': null,
  10. 'value-keyword-case': null,
  11. 'font-family-name-quotes': null,
  12. 'function-no-unknown': null,
  13. 'annotation-no-unknown': null,
  14. 'declaration-block-no-duplicate-properties': true,
  15. 'selector-not-notation': 'simple',
  16. 'alpha-value-notation': 'number',
  17. 'rule-empty-line-before': [
  18. 'always',
  19. {
  20. 'ignore': 'first-nested',
  21. },
  22. ],
  23. },
  24. }