Releases: xojs/xo
Releases · xojs/xo
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
v0.27.0
- Add TypeScript support (#426) b0dfcbd
You can now lint TypeScript projects without any extra config. You can also lintd.tsfiles 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-featuresrules (#341) 2297c07 - Improve
import/no-unassigned-importsettings (#430) 0c78113
v0.26.1
v0.26.0
Breaking
New rules
20 new rules 👌
ESLint
default-param-lastfunction-call-argument-newlinegrouped-accessor-pairsno-constructor-returnno-dupe-else-ifno-import-assignno-setter-returnno-useless-catchprefer-exponentiation-operatorprefer-named-capture-groupprefer-object-spreadprefer-regex-literals
Unicorn
unicorn/prefer-modern-dom-apisunicorn/prefer-negative-indexunicorn/prefer-replace-allunicorn/prefer-string-sliceunicorn/prefer-trim-start-end
Other
Enhancements
- Set the
es2020environment by default eb5ea2c
Fixes
v0.25.4
- Temporarily disable the
import/orderrule 776927f
v0.25.3
v0.25.2
v0.25.1
- Don't report normal TODO comments as errors 4378e83