Releases: xojs/xo
Releases · xojs/xo
v0.53.1
v0.53.0
Breaking
- Require Node.js 14 91d10d1
- TypeScript: It will now use inline type imports when auto-fixing xojs/eslint-config-xo-typescript@e41f4a4
New rules
v0.52.4
v0.52.3
v0.52.2
v0.52.1
v0.52.0
New rules
@typescript-eslint/consistent-type-exports@typescript-eslint/consistent-type-imports@typescript-eslint/consistent-generic-constructors@typescript-eslint/consistent-type-definitionstypeandinterfaceare almost interchangeable. The main difference is thatinterfacecan be extended from anywhere, which can be useful in a few cases, but can most often cause surprising hard to track down behavior. XO prefers being strict by default and have chosentype. Just use aneslint-disablecomment in the few cases where you need the declaration to be extendable.- More info
Improvements
v0.51.0
v0.50.0
v0.49.0
New rules
no-constant-binary-expressionunicorn/text-encoding-identifier-caseunicorn/no-useless-switch-caseunicorn/prefer-modern-math-apisunicorn/no-unreadable-iifeunicorn/prefer-native-coercion-functions@typescript-eslint/no-duplicate-enum-values@typescript-eslint/parameter-properties@typescript-eslint/space-before-blocks@typescript-eslint/no-useless-empty-export@typescript-eslint/no-redundant-type-constituents
Breaking
- Single-quotes is now enforced for JSX instead of double-quotes xojs/eslint-config-xo#78