Add curly: 'error' to eslintrc and fix linting

This commit is contained in:
Fedor Indutny 2021-03-02 13:09:17 -08:00 committed by Josh Perez
parent c2be9e6f3a
commit 7c0f5a356e
5 changed files with 21 additions and 10 deletions

View file

@ -125,6 +125,7 @@ const rules = {
'`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
},
],
curly: 'error',
};
module.exports = {