Skip to content

Commit

Permalink
feat(ng-dev): format json files by default with prettier
Browse files Browse the repository at this point in the history
Self-explanatory!
  • Loading branch information
devversion committed Jan 28, 2022
1 parent f57a99a commit 68a5b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ng-dev/format/formatters/prettier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class Prettier extends Formatter {

override binaryFilePath = join(this.git.baseDir, 'node_modules/.bin/prettier');

override defaultFileMatcher = ['**/*.{t,j,cj,mj}s'];
override defaultFileMatcher = ['**/*.{js,cjs,mjs}', '**/*.{ts,cts,mts}', '**/*.json'];

/**
* The configuration path of the prettier config, obtained during construction to prevent needing
Expand Down

0 comments on commit 68a5b58

Please sign in to comment.