mgechev / angular2-style-guide

[Deprecated] Community-driven set of best practices and style guidelines for Angular 2 application development
https://mgechev.github.io/angular2-style-guide/
1.2k stars 98 forks source link

pipes in directory structure under shared? #48

Closed roelleor closed 8 years ago

roelleor commented 8 years ago

Shouldn't pipes be under shared in the directory structure? I can imagine some highly specific pipes belonging to a single component, or more general pipes that can be shared

mgechev commented 8 years ago

It completely depends on the application. Generally if the pipe is reused across components you should place it in shared/common/etc.