Closed orioltf closed 7 years ago
Have a look at the commented code 😄 ☝️
Thanks for the details!
BTW: I'm currently checking out prettier: https://github.com/unic/estatico-prettier This looks extremely promising to me since you a) don't have to discuss too many rules (it is more opinionated) and b) it autofixes everything so the "get a linting error, go find the corresponding line and try to fix it" part is replaced by MAGIC! And we could combine it with the autofixing part of ESLint to extend it from code styling rules to more complex ones: https://github.com/prettier/prettier-eslint. And they started supporting CSS: https://github.com/prettier/prettier/releases/tag/1.4.0. And they are working on Handlebars: https://github.com/prettier/prettier/search?q=handlebars&type=Issues&utf8=%E2%9C%93.
@orioltf, I just pushed an SCSS example: https://github.com/unic/estatico-prettier/commit/654a61b3f4960882946266cbc6cd0e6c4ef1866d
Running npm test
will show you the magic.
@orioltf Could you briefly elaborate on the differences?