diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 22:12:04 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 22:12:04 +0300 |
commit | 21abdcaf6343c562ad6cea87fa185e0a0e720663 (patch) | |
tree | 7c1308b2d60c9f4e42d9d718e2cf82f0368024aa | |
parent | 84ac571426f145744fb3bda6e1e2a33538e69923 (diff) | |
download | eslint-config-21abdcaf6343c562ad6cea87fa185e0a0e720663.tar.xz eslint-config-21abdcaf6343c562ad6cea87fa185e0a0e720663.zip |
feat(eslint): Rule "lines-between-class-members"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -60,7 +60,7 @@ - [X] "linebreak-style" - [ ] "lines-around-comment" - [X] "lines-around-directive" -- [ ] "lines-between-class-members" +- [X] "lines-between-class-members" - [ ] "max-classes-per-file" - [ ] "max-depth" - [ ] "max-len" diff --git a/src/rules/default.json b/src/rules/default.json index 71f73a1..6e6a96a 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -110,6 +110,13 @@ "lines-around-directive": [ "off" ], + "lines-between-class-members": [ + "error", + "always", + { + "exceptAfterSingleLine": false + } + ], "max-statements": [ "off" ], |