eslint-plugin-regru
REG.RU ESLint custom rules
no-space-in-parens
Add exception for ()
parens which contains ONLY string expression
{
"rules": {
"no-space-in-parens": [
"error",
"always",
{
"exceptions": ["(STRING)"]
}
]
}
}