feat(eslint): Rule "no-self-compare"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-14 01:48:36 +04:00
parent b8aef365ab
commit dce1b1ae89
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 4 additions and 1 deletions

View File

@ -179,7 +179,7 @@
- [X] "no-return-await" - [X] "no-return-await"
- [X] "no-script-url" - [X] "no-script-url"
- [ ] "no-self-assign" - [ ] "no-self-assign"
- [ ] "no-self-compare" - [X] "no-self-compare"
- [ ] "no-sequences" - [ ] "no-sequences"
- [ ] "no-setter-return" - [ ] "no-setter-return"
- [ ] "no-shadow" - [ ] "no-shadow"

View File

@ -314,6 +314,9 @@
"no-script-url": [ "no-script-url": [
"error" "error"
], ],
"no-self-compare": [
"error"
],
"no-spaced-func": [ "no-spaced-func": [
"off" "off"
], ],