Open ghost opened 8 years ago
Yes, thanks for your help. The Eslint rules can be integrated with grunt to format automatically the code ?
Unfortunately no. But those rules can be used for pre-commit pr pre-merge check. I'm also using them right inside my IDE to spot problems right away.
@galbini I can install ESlint and refactor if you want. We can try to migrate the code the ES6, but we'll need to install more tool to downgrade to ES5 when we're shipping.
@ydeshayes, good idea for the refactoring but i prefer to wait to have validate your pull request before refactor all the code because the merge will be hard in the other sense.
The upgrade to ES6 can be planned after the next release.
I can see that you have some issues with shared code style. Some of you use TAB, others double space. Any chance to get that tided up? Would you like to get pull request with clean formatted code and Eslint rules? I'm using double space and few "easy-to-read" concepts for Angular specific stuff notation.
BTW. I very much appreciate your work! API is good, SOC is also nice.