Skip to content

tverlaan/credo_condition_in_tuple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credo ConditionInTuple

A simple Credo check that will not allow you to write conditions inside tuples.

Explanation

Having a condition in a tuple makes your code harder to follow. You have to scan the text inside the tuple to see where the comma is and where the closing curly brace is. By avoiding this it is more clear to the reader what the data looks like.

About

Credo check for having no conditions inside a tuple

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages