diff options
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index bd90f4fc..abef43b1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -61,6 +61,12 @@ "no-case-declarations": "error", "no-const-assign": "error", "no-constant-condition": "off", + "no-multiple-empty-lines": [ + "error", + { + "max": 2 + } + ], "no-global-assign": "error", "no-new": "error", "no-param-reassign": "off", @@ -211,6 +217,10 @@ "after": true } ], + "space-before-blocks": [ + "error", + "always" + ], "space-before-function-paren": [ "error", { @@ -392,6 +402,12 @@ "*.ts" ], "rules": { + "no-multiple-empty-lines": [ + "error", + { + "max": 1 + } + ], "no-undef": "off", "unused-imports/no-unused-imports": "error", "@typescript-eslint/no-unused-vars": [ |