Breaking
- XO can no longer be installed globally.
- It caused too many problems. Instead, you can run the local XO binary with
$ npx xo
.
- It caused too many problems. Instead, you can run the local XO binary with
- XO now enforces trailing comma in multiline statements.
- This has a lot of benefits.
- Prettier also enforces this by default.
- If you don't want it, you can disable the
comma-dangle
rule, and@typescript-eslint/comma-dangle
if you use TypeScript.
- Change
operator-linebreak
rule to enforce operatorsbefore
.- This way is more readable.