Releases: xojs/xo
Releases · xojs/xo
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
v0.26.1
v0.26.0
Breaking
New rules
20 new rules 👌
ESLint
default-param-last
function-call-argument-newline
grouped-accessor-pairs
no-constructor-return
no-dupe-else-if
no-import-assign
no-setter-return
no-useless-catch
prefer-exponentiation-operator
prefer-named-capture-group
prefer-object-spread
prefer-regex-literals
Unicorn
unicorn/prefer-modern-dom-apis
unicorn/prefer-negative-index
unicorn/prefer-replace-all
unicorn/prefer-string-slice
unicorn/prefer-trim-start-end
Other
Enhancements
- Set the
es2020
environment by default eb5ea2c
Fixes
v0.25.4
- Temporarily disable the
import/order
rule 776927f