addPrettierExtensions doesn't need to be async #730
Labels
status: accepting prs
Please, send in a PR to resolve this! ✨
type: cleanup
Code smells, incorrect tests, build systems, or other internal shenanigans
Overview
Quick little tech debt point I just noticed while investigating #729: although other logic around rule extensions called by
summarizePackageRules
does need to beasync
,addPrettierExtensions
itself makes no asynchronous calls. It can be changed to a non-async
function.The name also is a relic, I think, of an implementation draft that is no longer accurate. Maybe...
checkPrettierExtension
would be a better name for it? It doesn't add any extensions; it just checks whether the Prettier config should be extended from.The text was updated successfully, but these errors were encountered: