https://github.com/angular/angular
Raw File
Tip revision: 43edc1b34c108f19e17274b0c7aa2e141ef6a2aa authored by Alex Rickabaugh on 28 October 2020, 20:21:48 UTC
release: cut the v10.2.1 release
Tip revision: 43edc1b
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',
      // Do not format generated ng-dev script
      '!dev-infra/ng-dev.js',
    ]
  },
  'buildifier': true
};
back to top