mantrajs / mantra-cli

Command line interface for building Meteor apps with Mantra
MIT License
135 stars 34 forks source link

configure eslint #74

Open sungwoncho opened 8 years ago

sungwoncho commented 8 years ago

mantra-cli project (not the projects created by it) lacks a good eslint setup. Having one will be handy for development.

StorytellerCZ commented 7 years ago

Just to clarify, are you referring to mantra-cli or projects created by it?

sungwoncho commented 7 years ago

@StorytellerCZ Sorry for the confusion. Edited the issue.

StorytellerCZ commented 7 years ago

AirBnB seems to be the preferred style, I think that might be a good starting point, but that might be quiet contentious debate. Personally I think we should add some very specific rules to begin with might be the good idea (like spacing, camel case, max line length).

sungwoncho commented 7 years ago

I would prefer simply enforcing airbnb config and leaving no room for style debate in the future.

macrozone commented 7 years ago

I think it woud be best if we have a config that can be used while creating new apps. This config could be share amongst your co-workers. The config could also contain what will be added to your project-specific mantra_cli.yaml.