diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-12-20 15:07:03 +0100 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-01-24 16:48:06 -0500 |
commit | f0b7e5708c8d6f2020f97cf0aa74ba1084f6adf1 (patch) | |
tree | 7009ec9be6648e83af559972938cb3e469bffb46 /.eslintrc | |
parent | 665dd3875285a63c978cb5621a2aaaa42ecdd453 (diff) | |
download | gitlab-ce-f0b7e5708c8d6f2020f97cf0aa74ba1084f6adf1.tar.gz |
Flag multiple empty lines in eslint, fix offenses.newline-eslint-rule
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc index e13f76b213c..9ab0145820d 100644 --- a/.eslintrc +++ b/.eslintrc @@ -15,6 +15,7 @@ "filenames" ], "rules": { - "filenames/match-regex": [2, "^[a-z0-9_]+(.js)?$"] + "filenames/match-regex": [2, "^[a-z0-9_]+(.js)?$"], + "no-multiple-empty-lines": ["error", { "max": 1 }] } } |