Closed jakecraige closed 7 years ago
Remove array bracket spacing rule since that's not the style we've used here and not one I particularly like, moreso in JSX.
It looks like we're using a custom style ESLint config?
Thoughts on using a community style guide that covers JSX, React, etc.? https://github.com/airbnb/javascript seems the most popular? Can be configured via https://www.npmjs.com/package/eslint-config-airbnb
The config we're using, except that one I just changed in this, is what's defined in our guides currently https://github.com/thoughtbot/guides/blob/master/style/javascript/.eslintrc.json, I'm not opposed to using a community guide, definitely interested in prettier as an option, but wanted to point out it's not a completely custom thing. Should we create an issue on guides?
Ah, cool.
Should we create an issue on guides?
Only if you want to! I'm generally curious to hear from the team on what they've experienced with ESLint, Prettier, Vim editor integration, and Git hooks. I've been trying to fiddle with a few things dotfiles-wise and have found it hard to get a good balance of linting based off a style guide + auto-formatting with Prettier.
Add configuration to run tests on Circle CI.