stylelint-declaration-strict-value icon indicating copy to clipboard operation
stylelint-declaration-strict-value copied to clipboard

Support deviation of primary and secondary regex options, needed or not?

Open AndyOGo opened this issue 5 years ago • 0 comments

At the moment regular expressions used within primary options have to match those used in secondary options. Deviation of those regexes isn't possible right now... is it needed?

// .stylelintrc
"rules": {
  // ...
  "scale-unlimited/declaration-strict-value": ["/color$/", "margin", {
    ignoreFunctions: {
      "/border-*-color$/": false,
    },
  }],
  // ...
}

AndyOGo avatar Sep 06 '20 09:09 AndyOGo