summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:33:53 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:33:53 +0300
commit7bc55712a4d2b781976cc381030ca90ce8e2030c (patch)
treea27f2ff998e2e11fd018a62dd037fab6e003eb7a
parentf94ff5d8d780d01012e19c8d2e09e527f837434f (diff)
downloadeslint-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.md2
-rw-r--r--src/rules/eslint.json4
2 files changed, 5 insertions, 1 deletions
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"
],