4 ms·
How does your team successfully enforce a maximum line length while having a tabs-only policy? I know it's possible to do this, but in my experience, most teams
by subsection1h 12y ago
How does your team successfully enforce a maximum line length while having a tabs-only policy? I know it's possible to do this, but in my experience, most teams I've encountered that have a tabs-only policy end up with lines of code that go on for miles because enforcing a maximum line length while having a tabs-only policy is more difficult than doing so while having a spaces-only policy. Long lines of code are especially annoying to people such as myself who have their editor split into multiple 100-character wide panes.
- aplummer 12y agoInteresting I guess the answer to that is we don't have a strict limit? Looking at a library now its all pretty much ~100ish but nothing set in concrete as a rule. That seems a bit restrictive IMO. Our other coding style rules kind of keep it down generally I suppose, like for SCSS declaring selectors on new lines (like in this styleguide) and in JS keeping callbacks to one level etc..