From 21abdcaf6343c562ad6cea87fa185e0a0e720663 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 23:12:04 +0400 Subject: feat(eslint): Rule "lines-between-class-members" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/default.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index 6f90534..4c21c1d 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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" ], -- cgit v1.2.3