Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (24 loc) · 497 Bytes

stylelint.md

File metadata and controls

30 lines (24 loc) · 497 Bytes

Stylelint

Config

.stylelintignore

node_modules

stylelint.config.js

module.exports = {
  plugins: ['stylelint-prettier'],
  extends: ['stylelint-config-recommended', 'stylelint-prettier/recommended'],
  rules: {
    'at-rule-empty-line-before': null,
    'rule-empty-line-before': null,
    'selector-type-no-unknown': [
      true,
      {
        ignore: ['custom-elements', 'default-namespace'],
      },
    ],
  },
};

This example integrates with [[Prettier]]