ialexivy / vscode-angular2-files

vscode extension generating angular files with angular cli
MIT License
61 stars 36 forks source link

Fetch prefix from tslint.json instead of angular-cli.json #3

Closed thekalinga closed 6 years ago

thekalinga commented 7 years ago

For those who dont use angular cli (webpack & others), its annoying to create a anugular cli just to satisfy this extension.

It would be good if you can determine the prefix from tslint.json and the look for angular-cli.json as user wants linted enabled in his project. So this should take precedence.

The following properties from tslint.json describes what should be the prefix for each of the declarable

"directive-selector-prefix": [true, "my"],
"component-selector-prefix": [true, "my"],
"pipe-naming": [true, "camelCase", "my"]
ialexivy commented 6 years ago

Closing for now, as it's design choice of this extension to be compatible to angular-cli