summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 13:48:01 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 13:48:01 +0300
commit99e572a11641e3298b506bb2601ca0b94e6ebe5e (patch)
treee1ab0a4eebf7836cadf16d134e5744e467cf125f
parentd57337cdb7916678fb7249ddc30c337dc12563cd (diff)
downloadeslint-config-99e572a11641e3298b506bb2601ca0b94e6ebe5e.tar.xz
eslint-config-99e572a11641e3298b506bb2601ca0b94e6ebe5e.zip
feat(eslint): Rule "lines-around-directive"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index cf4bd4b..3c5b9ea 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -59,7 +59,7 @@
- [ ] "line-comment-position"
- [ ] "linebreak-style"
- [ ] "lines-around-comment"
-- [ ] "lines-around-directive"
+- [X] "lines-around-directive"
- [ ] "lines-between-class-members"
- [ ] "max-classes-per-file"
- [ ] "max-depth"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 419a068..b3ecd7e 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -6,6 +6,9 @@
"indent-legacy": [
"off"
],
+ "lines-around-directive": [
+ "off"
+ ],
"no-tabs": [
"error",
{