iguissouma / meteorjs-plugin

3 stars 2 forks source link

Meteor 1.3 styleguide #1

Open neil-s opened 8 years ago

neil-s commented 8 years ago

Hey, thanks for creating this plugin, it's quite useful.

Meteor 1.3 ships with a style guide that includes a number of naming conventions. Would it be a good idea to update the templates to match these?

http://guide.meteor.com/code-style.html#meteor-features

Specifically, when I create a new template using underscores in the .html file name, it still coerces this name into camelCase.

iguissouma commented 8 years ago

Hello, thanks for your idea, I'll try to update it to match the new meteor 1.3 styleguide.

neil-s commented 8 years ago

Actually, I might have jumped the gun on that. Some of the community tooling around Meteor hasn't updated to match the guide, so these templates are probably still good. Most notably, Iron Router, which is used by 94% of Meteor projects, picks up templates named the way you have them, so I've had to change all the names back to your defaults.