From 7bc55712a4d2b781976cc381030ca90ce8e2030c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 16:33:53 +0400 Subject: feat(eslint): Rule "linebreak-style" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index d3a258e..ebc7b4f 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -57,7 +57,7 @@ - [X] "key-spacing" - [ ] "keyword-spacing" - [ ] "line-comment-position" -- [ ] "linebreak-style" +- [X] "linebreak-style" - [ ] "lines-around-comment" - [X] "lines-around-directive" - [ ] "lines-between-class-members" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 074c60e..04fda73 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -60,6 +60,10 @@ "mode": "strict" } ], + "linebreak-style": [ + "error", + "unix" + ], "lines-around-directive": [ "off" ], -- cgit v1.2.3