feat(eslint): Rule "linebreak-style"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 16:33:53 +04:00
parent f94ff5d8d7
commit 7bc55712a4
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,7 @@
- [X] "key-spacing" - [X] "key-spacing"
- [ ] "keyword-spacing" - [ ] "keyword-spacing"
- [ ] "line-comment-position" - [ ] "line-comment-position"
- [ ] "linebreak-style" - [X] "linebreak-style"
- [ ] "lines-around-comment" - [ ] "lines-around-comment"
- [X] "lines-around-directive" - [X] "lines-around-directive"
- [ ] "lines-between-class-members" - [ ] "lines-between-class-members"

View File

@ -60,6 +60,10 @@
"mode": "strict" "mode": "strict"
} }
], ],
"linebreak-style": [
"error",
"unix"
],
"lines-around-directive": [ "lines-around-directive": [
"off" "off"
], ],