Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Generate files according to Angular style guide #8

Open
robertohuertasm opened this issue Jan 13, 2017 · 0 comments
Open

Generate files according to Angular style guide #8

robertohuertasm opened this issue Jan 13, 2017 · 0 comments

Comments

@robertohuertasm
Copy link

robertohuertasm commented Jan 13, 2017

Hi, I'm fairly new to Ionic and while I was trying the Ionic CLI I've noticed that the generator doesn't create the names of the files by following the Angular style guide.

See STYLE 02-01 and STYLE02-02.

For instance, if I do ionic g component box, this will generate several files named like this:

  • box.html
  • box.scss
  • box.ts

Ideally, it should create something like this:

  • box.component.html
  • box.component.scss
  • box.component.ts

The same pattern will follow when generating pipes, directives or services.

Maybe this behavior is something you deliberately chosed and I'm missing the point. If that's the case, please excuse my boldness. 😉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant