diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json index 5033af3..7d05cd3 100644 --- a/frontend/.eslintrc.json +++ b/frontend/.eslintrc.json @@ -121,6 +121,26 @@ ] } ], + "padding-line-between-statements": [ + "error", + { "blankLine": "always", "prev": "const", "next": "*" }, + { "blankLine": "always", "prev": "let", "next": "*" }, + { "blankLine": "always", "prev": "var", "next": "*" }, + { "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"] } + ], + "@typescript-eslint/typedef": [ + "error", + { + "arrayDestructuring": true, + "arrowParameter": true, + "memberVariableDeclaration": true, + "objectDestructuring": true, + "parameter": true, + "propertyDeclaration": true, + "variableDeclaration": false, + "variableDeclarationIgnoreFunction": true + } + ], "import/order": [ "error", {