Releases: xojs/xo
Releases · xojs/xo
v0.45.0
New rules
no-bitwise
unicorn/no-useless-fallback-in-spread
unicorn/no-invalid-remove-event-listener
@typescript-eslint/naming-convention
@typescript-eslint/no-restricted-imports
@typescript-eslint/no-non-null-asserted-nullish-coalescing
@typescript-eslint/padding-line-between-statements
@typescript-eslint/no-meaningless-void-operator
Improvements
v0.44.0
v0.43.0
v0.42.0
New rules
Improvements
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-dangle
rule, and@typescript-eslint/comma-dangle
if you use TypeScript.
- Change
operator-linebreak
rule to enforce operatorsbefore
.- This way is more readable.
New rules
v0.40.3
v0.40.2
v0.40.1
v0.40.0
Breaking
- XO now enforces that your project is ESM
If you cannot yet move to ESM, I recommend staying on XO 0.39 for now. - Require Node.js 12.20 cc06c3c
New rules
unicorn/prefer-node-protocol
unicorn/prefer-module
unicorn/no-document-cookie
unicorn/numeric-separators-style
unicorn/prefer-array-flat
unicorn/prefer-array-flat-map
Meta
v0.39.1
- Fix a problem with using XO with Prettier fa34c74