refactor(cli): simplify ignore logic (#2455)
refactor(cli): simplify ignore logic (#2455)


lydell/prettier,arijs/prettier-miscellaneous,jlongster/prettier,prettier/prettier,azz/prettier,existentialism/prettier,lydell/prettier,azz/prettier,arijs/prettier-with-tabs,Skywalker13/prettier-space-parenthesis,Skywalker13/prettier-space-parenthesis,rattrayalex/prettier,azz/prettier,lydell/prettier,lydell/prettier,prettier/prettier,existentialism/prettier,arijs/prettier-miscellaneous,azz/prettier,Skywalker13/prettier-space-parenthesis,arijs/prettier-miscellaneous,Skywalker13/prettier-space-parenthesis,arijs/prettier-with-tabs,existentialism/prettier,rattrayalex/prettier,prettier/prettier,rattrayalex/prettier,arijs/prettier-miscellaneous,existentialism/prettier,prettier/prettier