Glavin001 / Glavin001/tslint-clean-code
max-conditional-depth
Open
good first issue
rule
- Dominant language
- TypeScript
- Stars
- 175
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
For example:
```
variable = condition1 ? ifTrueDoThis : (condition2 ? ifTrueDoThis : (condition3 ? ifTrueDoThis : ifFalseDoThis));
```
and
```
variable = condition1 && condition2 ? ifTrueDoThis : (condition3 || condition4 ? ifTrueDoThis : (condition5 && condition6 ? ifTrueDoThis : ifFalseDoThis));
```
These are too long and too deep. Let's limit the depth!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.