aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 13:45:50 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 13:45:50 +0300
commita1a87d826632e61306c933a06735c8a2104f2b24 (patch)
tree967ef11393231dcafb9705c7055b32277e4a4f74
parentbef8d52a776912dfa9960a2672fc220cdec46ae8 (diff)
downloadeslint-config-a1a87d826632e61306c933a06735c8a2104f2b24.tar.xz
eslint-config-a1a87d826632e61306c933a06735c8a2104f2b24.zip
Rule "eol-last"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json4
2 files changed, 5 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 9b49ea5..cf41cda 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -31,7 +31,7 @@
- [ ] "default-param-last"
- [ ] "dot-location"
- [ ] "dot-notation"
-- [ ] "eol-last"
+- [X] "eol-last"
- [ ] "eqeqeq"
- [ ] "for-direction"
- [ ] "func-call-spacing"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 531f091..17a1f02 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -1,4 +1,8 @@
{
+ "eol-last": [
+ "error",
+ "always"
+ ],
"no-tabs": [
"error",
{