Releases: xojs/xo
Releases · xojs/xo
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-definitions
type
andinterface
are almost interchangeable. The main difference is thatinterface
can 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-disable
comment 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-expression
unicorn/text-encoding-identifier-case
unicorn/no-useless-switch-case
unicorn/prefer-modern-math-apis
unicorn/no-unreadable-iife
unicorn/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
v0.48.0
New rules
unicorn/no-thenable
unicorn/no-useless-promise-resolve-reject
unicorn/relative-url-style
unicorn/prefer-json-parse-buffer
TypeScript-only
- Disallow
null
xojs/eslint-config-xo-typescript@0d1c719
v0.47.0
New rules
unicorn/no-empty-file
unicorn/prefer-export-from
unicorn/prefer-code-point
unicorn/no-await-expression-member