Rollup merge of #97218 - GuillaumeGomez:eslint-checks, r=notriddle
Add eslint checks The first check is to ensure that `=>` is always surrounded with whitespaces. The second is to ensure that the dict objects looks like this: `{"a": 2}` and not `{"a" : 2}` or `{"a":2}`. r? ``@notriddle``
This commit is contained in:
commit
e5c7b21f39
@ -38,5 +38,13 @@ module.exports = {
|
||||
"error",
|
||||
{ "before": true, "after": true }
|
||||
],
|
||||
"arrow-spacing": [
|
||||
"error",
|
||||
{ "before": true, "after": true }
|
||||
],
|
||||
"key-spacing": [
|
||||
"error",
|
||||
{ "beforeColon": false, "afterColon": true, "mode": "strict" }
|
||||
],
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user