angular-cli/.ng-dev/format.mts
Paul Gschwendtner 9fafb2e125 build: update ng-dev setup to work with new ESM version
The `ng-dev` tool is now strict ESM. Config loading needs to be updated
to also emit `.mjs` with `ts-node` (this cannot happen dynamically as
ESM Node loading cannot be patched by ts-node at runtime).
2022-06-17 19:01:03 +02:00

12 lines
258 B
TypeScript

import { FormatConfig } from '@angular/dev-infra-private/ng-dev';
/**
* Configuration for the `ng-dev format` command.
*/
export const format: FormatConfig = {
'prettier': {
matchers: ['**/*.{ts,js,json,yml,yaml,md}'],
},
'buildifier': true,
};