Releases: xojs/xo
Releases · xojs/xo
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
v0.48.0
New rules
unicorn/no-thenableunicorn/no-useless-promise-resolve-rejectunicorn/relative-url-styleunicorn/prefer-json-parse-buffer
TypeScript-only
- Disallow
nullxojs/eslint-config-xo-typescript@0d1c719
v0.47.0
New rules
unicorn/no-empty-fileunicorn/prefer-export-fromunicorn/prefer-code-pointunicorn/no-await-expression-member