LogoLogo
  • 🧙‍♂️Dude Coding Standards
  • HTML
    • Accessible HTML Guidelines
      • Blocks
      • Upper title/Prefix
      • Global links
      • Search form
    • HTML elements
      • Lists
      • Headings
  • PHP
    • PHP Guidelines
    • Linting PHP with PHP_CodeSniffer
  • CSS
    • CSS and SCSS Guidelines
      • Naming Conventions
        • Custom properties and variables
        • Naming classes
      • Defining font families
      • Nesting
    • Stylelint
  • SVGs
    • Importing SVG files into a project
    • SVGs and accessibility
    • Styling SVGs
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. CSS

Stylelint

Disabling rules

If for some reason you need to use something in different manner than declared in .stylelintrc you should have good arguments in favor to it. You should comment the change accordingly:

// Force color for color themes not to change this to unreadable colors
// stylelint-disable-next-line declaration-no-important

Last updated 8 months ago

Was this helpful?

Page cover image