Add new lint to enforce whitespace after keywords
This commit is contained in:
parent
6913c7487e
commit
8fe333abd0
2 changed files with 6 additions and 2 deletions
|
@ -34,5 +34,9 @@ module.exports = {
|
||||||
"1tbs",
|
"1tbs",
|
||||||
{ "allowSingleLine": false }
|
{ "allowSingleLine": false }
|
||||||
],
|
],
|
||||||
|
"keyword-spacing": [
|
||||||
|
"error",
|
||||||
|
{ "before": true, "after": true }
|
||||||
|
],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue