module.exports = {
  processors: [],
  plugins: [],
  extends: "stylelint-config-standard",
  rules: {
    indentation: 2,
    "block-no-empty": true,
    "font-family-no-missing-generic-family-keyword": null,
    "no-empty-source": null,
    "function-calc-no-invalid": null,
    "no-descending-specificity": null,
    "no-duplicate-selectors": null,
    "declaration-block-single-line-max-declarations": null,
    "declaration-block-no-shorthand-property-overrides": null,
    "selector-type-no-unknown": [
      true,
      {
        ignoreTypes: ["page", "view", "text", "icon", "wxParse-s","/van-.+/","swiper","radio","scroll-view","checkbox","live-player","tabs"],
      },
    ],
    "unit-no-unknown": [true, { ignoreUnits: ["rpx"] }],
  },
  ignoreFiles: ["dist/**.wxss","dist/**/**.wxss","weui.wxss", "**/iconfont.wxss", "wxParse/*.wxss","*.json","utils/*.wxss","ec-canvas/*.wxss","poster/*.wxss"],
};
