enforce consistent spacing before or after unary operators
- 🔧 The
--fixoption on the command line (opens new window) can automatically fix some of the problems reported by this rule.
This rule is the same rule as core space-unary-ops (opens new window) rule but it applies to the expressions in
# 📚 Further Reading
# 🔍 Implementation
Taken with ❤️ from ESLint core (opens new window)