krakenjs / generator-swaggerize

Yeoman generator for design-driven apis with swagger 2.0 and krakenjs/swaggerize tools.
Other
70 stars 34 forks source link

update the eslint config of the generated app #98

Closed gaboesquivel closed 7 years ago

gaboesquivel commented 7 years ago

@subeeshcbabu I've found this generator very useful, it would be nice to implement a different eslint config tho, I like both Standard and Airbnb. Currently there are details like capitalized variable names ( I've seen that a lot in the hapi community ) that feels weird, I'm used to capitalized only classes and constructors.

tlivings commented 7 years ago

Hapi generates in a hapi style and express does not. You're always welcome to change the eslint config after the fact.

gaboesquivel commented 7 years ago

got it, yeah that's what I had to do in the project I'm working on, that's was a lot work tho.
That variable naming Hapi convention is really odd. I rather const joi = require('joi')