Skip to content

v7.1.0 - XO javascript linting

Compare
Choose a tag to compare
@mrmartineau mrmartineau released this 10 Aug 14:19
· 136 commits to master since this release

[7.1.0] - 10/08/2016

Switch javascript linting rules to use XO rules instead of AirBnB's rules. This was done to allow developers to enforce a strict code style with the minimal config. See below for the new js linting rules.

XO Default code style

Any of these can be overridden if necessary. See our package.json for all XO config.

  • Tab indentation
  • Semicolons
  • Single-quotes
  • No unused variables
  • Space after keyword if (condition) {}
  • Always === instead of ==