extends: - stylelint-config-standard - stylelint-config-prettier rules: # Disallow color names and hex colors as these don't work well with dark mode. # Use PF global variables instead: # https://patternfly-react-main.surge.sh/developer-resources/global-css-variables#global-css-variables color-named: never color-no-hex: true function-disallowed-list: - rgb # Disallow CSS classnames prefixed with .pf- or .co- as these prefixes are # reserved by PatternFly and OpenShift console. selector-disallowed-list: - "*" - /\.(pf|co)-/ # Plugins should avoid naked element selectors like `table` and `li` since # this can impact layout of existing pages in console. selector-max-type: - 0 - ignore: - compounded - descendant