https://github.com/angular/angular
Raw File
Tip revision: f2dbf8663e2e9d1a68b4d4257640dceb2949a2e6 authored by Paul Gschwendtner on 24 June 2021, 14:12:12 UTC
build: update bazel nodejs fetch urls to fix 404 error (#42646)
Tip revision: f2dbf86
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