aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 13:53:13 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 13:53:13 +0300
commitd78f3002afe41f0f6581b29fa759d6b8a07d897c (patch)
tree77b3617b5bcc8afc9d9a7a1c0a032293261e0cd8
parentc6f02605aab661be2c68c23aeacbcdcad368f9ed (diff)
downloadeslint-config-d78f3002afe41f0f6581b29fa759d6b8a07d897c.tar.xz
eslint-config-d78f3002afe41f0f6581b29fa759d6b8a07d897c.zip
feat(eslint): Rule "prefer-reflect"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json3
2 files changed, 4 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index b81ba81..e13d025 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -240,7 +240,7 @@
- [ ] "prefer-numeric-literals"
- [ ] "prefer-object-spread"
- [ ] "prefer-promise-reject-errors"
-- [ ] "prefer-reflect"
+- [X] "prefer-reflect"
- [ ] "prefer-regex-literals"
- [ ] "prefer-rest-params"
- [ ] "prefer-spread"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index f5ed0e4..f4c835f 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -32,5 +32,8 @@
{
"allowIndentationTabs": true
}
+ ],
+ "prefer-reflect": [
+ "off"
]
}