lite: run prettier on js + json files
This commit is contained in:
parent
4242f6ee3d
commit
bb1c84e101
23 changed files with 23 additions and 23 deletions
|
@ -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 }
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue