Commit 4bbd8dc
fix(@angular/cli): ignore unknown files when formatting schematic changes
When schematics modify files such as .gitignore, Prettier cannot infer a parser and formatting fails.
```
npx prettier --check .gitignore
[error] No parser could be inferred for file ".gitignore".
```
With ignore-unknown enabled, Prettier does not throw this parser error1 parent a1a84da commit 4bbd8dc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments