https://github.com/angular/angular
Raw File
Tip revision: 25f79ba73e19bcf7c0925283a2dfdf2d9186eb49 authored by Andrew Kushnir on 12 August 2020, 16:35:37 UTC
release: cut the v10.0.9 release
Tip revision: 25f79ba
format.ts
import {FormatConfig} from '../dev-infra/format/config';

/**
 * Configuration for the `ng-dev format` command.
 */
export const format: FormatConfig = {
  'clang-format': {
    'matchers': [
      '**/*.{js,ts}',
      // TODO: burn down format failures and remove aio and integration exceptions.
      '!aio/**',
      '!integration/**',
      // Both third_party and .yarn are directories containing copied code which should
      // not be modified.
      '!third_party/**',
      '!.yarn/**',
      // Do not format d.ts files as they are generated
      '!**/*.d.ts',
    ]
  },
  'buildifier': true
};
back to top