diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 15:33:53 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 15:33:53 +0300 |
commit | 7bc55712a4d2b781976cc381030ca90ce8e2030c (patch) | |
tree | a27f2ff998e2e11fd018a62dd037fab6e003eb7a | |
parent | f94ff5d8d780d01012e19c8d2e09e527f837434f (diff) | |
download | eslint-config-7bc55712a4d2b781976cc381030ca90ce8e2030c.tar.xz eslint-config-7bc55712a4d2b781976cc381030ca90ce8e2030c.zip |
feat(eslint): Rule "linebreak-style"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -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" ], |