This repository was archived by the owner on Feb 2, 2021. It is now read-only.
[Snyk] Upgrade xo from 0.25.3 to 0.28.0 #48
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade xo from 0.25.3 to 0.28.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.The recommended version fixes:
SNYK-JS-ACORN-559469
SNYK-JS-DOTPROP-543489
SNYK-JS-KINDOF-537849
Release notes
Package name: xo
-
0.28.0 - 2020-03-11
- Add
- Add
- Add
- Get
-
0.27.2 - 2020-02-26
- Sort file paths before generating unique cache key (#432) 1807537
-
0.27.1 - 2020-02-25
- Various fixes to TypeScript integration (#431) 0ea5dbb
-
0.27.0 - 2020-02-24
- Add TypeScript support (#426) b0dfcbd
- Find XO config based on linted file path (#425) e0f81a7
- Fix overrides handling for
- Add
- Improve
-
0.26.1 - 2020-02-14
- Use new
-
0.26.0 - 2020-02-12
- Require Node.js 10 d7fa875
- Move
- Set the
- Fix compatibility with being run in a child process (#405) 08af7c1
-
0.25.4 - 2020-02-12
- Temporarily disable the
-
0.25.3 - 2019-09-26
- Enable
from xo GitHub release notesNew rules
unicorn/string-contentrule (#439) 5a22b77unicorn/prevent-abbreviationsrule ba4efc9This 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
webpackoption (#375) f656ee3extensionsandignoresfrom config files (#436) 0d63c64v0.27.2...v0.28.0
v0.27.1...v0.27.2
Important: We changed the cache structure, so you'll need to delete
node_modules/.cache/xo:v0.27.0...v0.27.1
You can now lint TypeScript projects without any extra config. You can also lint
d.tsfiles in JS projects. Read more.extends,envs,globals,plugins(#429) 4cefdbcnode/no-unsupported-featuresrules (#341) 2297c07import/no-unassigned-importsettings (#430) 0c78113v0.26.1...v0.27.0
eslint-config-prettieroverride (#422) 9fbdb97v0.26.0...v0.26.1
Breaking
$ xo --initto$ npm init xo6463dfeNew 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-literalsUnicorn
unicorn/prefer-modern-dom-apisunicorn/prefer-negative-indexunicorn/prefer-replace-allunicorn/prefer-string-sliceunicorn/prefer-trim-start-endOther
node/prefer-global/url-search-paramsnode/prefer-global/urlpromise/prefer-await-to-thenEnhancements
es2020environment by default eb5ea2cFixes
v0.25.3...v0.26.0
import/orderrule 776927fv0.25.3...v0.25.4
unicorn/prefer-flat-maponly for Node.js >=11 (#403) 80c592ev0.25.2...v0.25.3
Commit messages
Package name: xo
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs