angular-docs-cn/packages/core/schematics/migrations/xhr-factory
Paul Gschwendtner 2d0ff0a5d3 ci: add lint error for files with missing trailing new-line (#42478)
For quite a while it is an unspoken convention to add a trailing
new-line files within the Angular repository. This was never enforced
automatically, but has been frequently raised in pull requests through
manual review. This commit sets up a lint rule so that this is
"officially" enforced and doesn't require manual review.

PR Close #42478
2021-06-04 13:31:03 -07:00
..
BUILD.bazel feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00
README.md feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00
index.ts ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00

README.md

XhrFactory migration

Automatically migrates XhrFactory from @angular/common/http to @angular/common.

Before

import { XhrFactory } from '@angular/common/http';

After

import { XhrFactory } from '@angular/common';