# stylus/semicolon

require or disallow semicolon.

  • ⚙️ This rule is included in "stylelint-plugin-stylus/standard". (options: "never")
  • 🔧 The fix option (opens new window) can automatically fix some of the problems reported by this rule.

# 📖 Rule Details

This rule require or disallow semicolons.

# 🔧 Options

{
  "stylus/semicolon": ["always" | "never"]
}
  • "always" ... Requires semicolon.
  • "never" ... Disallows semicolons.

# "always"

a // ✓ GOOD color red; // ✗ BAD color red
Now loading...

# "never"

a // ✓ GOOD color red // ✗ BAD color red;
Now loading...

# 📚 Further reading

# 🔍 Implementation