ng new --prefix kebap-case causes lint errors in directives #13796
Labels
area: @schematics/angular
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 but probably not
Description
If you create a new app with
ng new --prefix compony-domain
the prefix results in the followingtslint.json is generated:
If you create a new directive with
ng g d highlight
the resulting selector iscompanyDomainHighlight
and causes lint errors.🔬 Minimal Reproduction
ng new kebap-case --prefix kebap-case
ng g d highlight
ng lint
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: