lite: run prettier on js + json files

This commit is contained in:
alex 2023-05-02 16:12:34 +01:00
parent 4242f6ee3d
commit bb1c84e101
23 changed files with 23 additions and 23 deletions

View file

@ -15,7 +15,7 @@ async function main() {
'prettier',
shouldFix ? '--write' : '--check',
// we have to run prettier from root so it picks up the ignore file
join(relative(REPO_ROOT, process.cwd()), '**', '*.{ts,tsx}'),
join(relative(REPO_ROOT, process.cwd()), '**', '*.{ts,tsx,js,jsx,json}'),
],
{ pwd: REPO_ROOT }
)