Closed marbug closed 6 years ago
Thanks for the detailed description. We'll take a look at this in the next few days.
the root of the issue: the additional marbug-app/src/tslint.json file has been automatically generated, which also has component-selector rule by default, and it redefines component-selector rule from marbug-app/tslint.json by default prefix. Sorry for disturbing. Closing the issue...
No worries.
Hello.
I tried this with node v8.11.4 and v.10.9.0 and Angular6
Steps to reproduce are the following:
Create project
Go to project folder
Generate home module
Generate home component
Change prefix in marbug-app/angular.json from app to marbug:
Change component selector prefix in marbug-app/src/app/home/home.component.ts file from app to marbug:
Add component-selector rule to marbug-app/tslint.json
Run
See error
Expected behavior: there is no such error
P.S. Please take a look for more details at https://github.com/marbug/test-lint/blob/master/v8.11.4/README.md https://github.com/marbug/test-lint/blob/master/v10.9.0/README.md