Refactoring Combos
Compose multiple refactoring steps into larger refactorings.
Extract array constant from string comparison chain
Convert && !== and || === chains into array.includes.
Inline function as method
Inline a standalone function that is only used as a property value.
Introduce object destructuring
Destructure an object and use variables instead of property access chains.
Simplify duplicated function call inside if-else statement
Convert an if-else statement with a duplicated function call into a function call with a conditional expression.
Simplify if-else variable initialization
Convert a conditional variable initialization with if-else to a conditional expression.