Automatic ng add of @angular-eslint/schematics still throws the first time based on missing lint target #22937
Closed
1 of 15 tasks
Labels
area: @angular/cli
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Unknown
Description
When following the libraries tutorial, running
ng lint
will throw the first time you run it, but pass the second time.🔬 Minimal Reproduction
Follow the steps outlined here taken from the creating libraries tutorial on angular.io:
angular-eslint/angular-eslint#917
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
Full output from
ng lint my-lib
onwards, showing the error and subsequent successful run:The text was updated successfully, but these errors were encountered: