v0.41.0
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-danglerule, and@typescript-eslint/comma-dangleif you use TypeScript.
- Change
operator-linebreakrule to enforce operatorsbefore.- This way is more readable.