https://github.com/angular/angular
Raw File
Tip revision: 7ca17a624988bdcf403f45827feffb908b4c3379 authored by George Kalpakas on 21 October 2020, 09:20:37 UTC
build(docs-infra): upgrade cli command docs sources to cba6d86ca (#39360)
Tip revision: 7ca17a6
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