1
0

.stylelintrc.js 663 B

1234567891011121314151617181920212223
  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. 'declaration-block-no-duplicate-properties': true,
  14. 'selector-not-notation': 'simple',
  15. 'alpha-value-notation': 'number',
  16. 'rule-empty-line-before': [
  17. 'always',
  18. {
  19. 'ignore': 'first-nested',
  20. },
  21. ],
  22. },
  23. }