Commit 33ba630
committed
refactor: centralize ESLint file targeting within
This is needed as the glob is no longer being parsed from the CLI.
```
Run pnpm lint --cache-strategy content
> @angular/devkit-repo@22.0.0-next.0 lint /home/runner/work/angular-cli/angular-cli
> eslint --cache --max-warnings=0 "**/*.@(ts|mts|cts)" --cache-strategy content
Oops! Something went wrong! :(
ESLint: 10.0.2
No files matching the pattern "**/*.@(ts|mts|cts)" were found.
Please check for typing mistakes in the pattern.
ELIFECYCLE Command failed with exit code 2.
```eslint.config.mjs to process only TypeScript files and ignore JavaScript files1 parent 9d167ca commit 33ba630
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments