Skip to content

Commit

Permalink
Error on excessive depth
Browse files Browse the repository at this point in the history
  • Loading branch information
samayer12 committed Oct 31, 2024
1 parent 52d6deb commit 7c0cc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"complexity": ["warn", { "max": 10 }],
"consistent-this": "warn",
"eqeqeq": "error",
"max-depth": ["warn", { "max": 3 }],
"max-depth": ["error", { "max": 3 }],
"max-nested-callbacks": ["warn", { "max": 4 }],
"max-params": ["warn", { "max": 4 }],
"max-statements": ["warn", { "max": 20 }, { "ignoreTopLevelFunctions": true }],
Expand Down

0 comments on commit 7c0cc20

Please sign in to comment.