https://github.com/angular/angular
Raw File
Tip revision: a69507a0adc0e559d152eb3fb988a410ef9352a7 authored by atscott on 09 September 2020, 20:31:47 UTC
release: cut the v11.0.0-next.1 release
Tip revision: a69507a
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