aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:33:30 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:33:30 +0300
commitdbccc608253dba49dbf10f39ccec5fd6e3b6e7e1 (patch)
tree706633228b3061048505aa35f03c8a5e7a81fa78
parent4aeb8473fa56acfed2321a4c11a4c0dfececffb4 (diff)
downloadeslint-config-dbccc608253dba49dbf10f39ccec5fd6e3b6e7e1.tar.xz
eslint-config-dbccc608253dba49dbf10f39ccec5fd6e3b6e7e1.zip
fix(eslint): no-magic-numbers
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--src/rules/javascript/default.json11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json
index bdbe94b..1004268 100644
--- a/src/rules/javascript/default.json
+++ b/src/rules/javascript/default.json
@@ -288,16 +288,7 @@
"error"
],
"no-magic-numbers": [
- "warn",
- {
- "detectObjects": false,
- "enforceConst": true,
- "ignore": [
- 0,
- 1
- ],
- "ignoreArrayIndexes": false
- }
+ "off"
],
"no-mixed-spaces-and-tabs": [
"error"