prettier
7d42e79d - refactoring(glimmer): Extract utils from printer (#7528)

Commit
6 years ago
refactoring(glimmer): Extract utils from printer (#7528) * Extract isWhitespaceNode * Refactor isParentOfType to isParentOfSomeType * Introduce isNodeOfSomeType * Replace isNextNodeOfType with isNextNodeOfSomeType * Move utils to utils file * Sort utils * Refactor isPrettierIgnoreNode function to use util * Extract hasPrettierIgnore to utils * Apply review feedback * Apply review suggestions * Add getSiblingNode
Author
Parents
Loading