Releases: xojs/xo
Releases · xojs/xo
v0.29.1
v0.29.0
New rules
unicorn/prefer-number-properties
unicorn/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
nodeVersion
in XO config to overrideengines.node
(#457) f20f6d2 - Add
ignore
option toexpiring-todo-comment
rule
v0.28.3
v0.28.2
v0.28.1
v0.28.0
New rules
- Add
unicorn/string-content
rule (#439) 5a22b77 - Add
unicorn/prevent-abbreviations
rule 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
v0.27.0
- Add TypeScript support (#426) b0dfcbd
You can now lint TypeScript projects without any extra config. You can also lintd.ts
files in JS projects. Read more. - Find XO config based on linted file path (#425) e0f81a7
- Fix overrides handling for
extends
,envs
,globals
,plugins
(#429) 4cefdbc - Add
node/no-unsupported-features
rules (#341) 2297c07 - Improve
import/no-unassigned-import
settings (#430) 0c78113