Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 781 Bytes

linting-xo.adoc

File metadata and controls

8 lines (5 loc) · 781 Bytes

Status of this document: in progress

xo by Sindre Sorhus is the de-facto community standard for general JavaScript linting, providing an opinionated but configurable ESLint wrapper.

Defaults to tabs instead of spaces for an 'accessible first' environment

There’s clearly no good reason to use spaces over tabs within your code - but a lot that speaks against it, as pointed out by the XO authors as well, but involves topics like accessibility as well. So we’ve chosen tabs as the standard for indentation as this is its general purpose.