https://github.com/angular/angular
Raw File
Tip revision: 33639db911fcfe08c22ca1559cb55dd14b9f9d3e authored by Andrew Kushnir on 19 November 2020, 19:34:21 UTC
release: cut the v11.0.2 release
Tip revision: 33639db
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