Update xo to the latest version 🚀 #25
Open
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.
Version 0.18.0 of xo just got published.
The version 0.18.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of xo.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
0.18.0Highlights
esnextoption is nowtrueby default. This means it now enforces the use of as much ES2015+ syntax as Node.js 4 supports. 61c046cno-array-instanceofno-new-bufferno-hex-escapenumber-literal-caseescape-caseprefer-starts-ends-withcustom-error-definitiontype-errorno-async-fn-without-awaitno-duplicate-modifiersno-promise-in-callbackno-callback-in-promisefunc-name-matchingno-compare-neg-zerotemplate-tag-spacingno-multi-assignprefer-promise-reject-errorsno-await-in-loopcapitalized-commentsno-return-awaitno-useless-return$ xo --fix.--stdin-filenameCLI flag. 0d88cdeimport/no-dynamic-requirerule. 29a5263All changes
v0.17.1...v0.18.0
Commits
The new version differs by 19 commits .
bf6260c0.18.034ab00bFix some lint issuesf87990aBump dependenciesf8e1e3dHandle negative gitignore patterns correctly (#195)a0ae248Ignore directories when receiving an empty extension (#194)da188e5Don't trigger duplication errors for Flow type imports (#193)cb63c5fAdd tip on how to use XO with monorepos0d88cdeAdd--stdin-filenameoption29a5263Remove theimport/no-dynamic-requirerulea469eb6Link to the Vim plugin61c046cMake theesnextoptiontrueby default2e14d1bfeat: apply.ignorestolintText(#169)3e1a318Add some neweslint-plugin-promiserulesad941f5Fix a TODO6540a76Add highlight item about cachingThere are 19 commits in total. See the full diff.
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴