Releases: xojs/xo
Releases · xojs/xo
v0.31.0
New rules
unicorn/prefer-optional-catch-bindingunicorn/no-reduce@typescript-eslint/lines-between-class-members@typescript-eslint/no-invalid-void-type@typescript-eslint/prefer-ts-expect-error@typescript-eslint/no-unnecessary-conditionimport/no-anonymous-default-exportimport/no-named-default
Improvements
v0.30.0
New rules
- Add
@typescript-eslint/class-literal-property-stylerule - Add
@typescript-eslint/prefer-readonly-parameter-typesrule - Add
@typescript-eslint/no-base-to-stringrule - Add
@typescript-eslint/keyword-spacingrule - Add
@typescript-eslint/method-signature-stylerule - Add
@typescript-eslint/prefer-reduce-type-parameterrule - Add
@typescript-eslint/no-floating-promisesrule - Re-enable some disabled rules xojs/eslint-config-xo-typescript@e870168
Fixes
v0.29.1
v0.29.0
New rules
unicorn/prefer-number-propertiesunicorn/prefer-set-has@typescript-eslint/class-literal-property-style@typescript-eslint/no-unsafe-return@typescript-eslint/no-unsafe-member-access@typescript-eslint/no-unsafe-call@typescript-eslint/prefer-readonly-parameter-types@typescript-eslint/no-base-to-string
Improvements
- Upgrade to Prettier 2 (#458) e05efc3
- Allow
nodeVersionin XO config to overrideengines.node(#457) f20f6d2 - Add
ignoreoption toexpiring-todo-commentrule
v0.28.3
v0.28.2
v0.28.1
v0.28.0
New rules
- Add
unicorn/string-contentrule (#439) 5a22b77 - Add
unicorn/prevent-abbreviationsrule ba4efc9
This rule enforces more readable code by preventing the use of certain abbreviations in favor of the full word. Not everyone knows all abbreviations. Saving a few characters are not worth making your code less readable. List of abbreviations XO prevents.
Improvements
v0.27.2
v0.27.1
Important: We changed the cache structure, so you'll need to delete node_modules/.cache/xo:
$ rm node_modules/.cache/xo