mantra-cli icon indicating copy to clipboard operation
mantra-cli copied to clipboard

configure eslint

Open sungwoncho opened this issue 8 years ago • 5 comments

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

sungwoncho avatar Jun 12 '16 04:06 sungwoncho

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

StorytellerCZ avatar Dec 05 '16 18:12 StorytellerCZ

@StorytellerCZ Sorry for the confusion. Edited the issue.

sungwoncho avatar Dec 05 '16 22:12 sungwoncho

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).

StorytellerCZ avatar Dec 06 '16 21:12 StorytellerCZ

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

sungwoncho avatar Dec 06 '16 21:12 sungwoncho

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.

macrozone avatar Aug 16 '17 15:08 macrozone