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
esnext
option is nowtrue
by default. This will enforce the use of as much ES2015+ syntax as Node.js 4 supports. 61c046cno-array-instanceof
no-new-buffer
no-hex-escape
number-literal-case
escape-case
prefer-starts-ends-with
custom-error-definition
type-error
no-async-fn-without-await
no-duplicate-modifiers
no-promise-in-callback
no-callback-in-promise
func-name-matching
no-compare-neg-zero
template-tag-spacing
no-multi-assign
prefer-promise-reject-errors
no-await-in-loop
capitalized-comments
no-return-await
no-useless-return
$ xo --fix
.--stdin-filename
CLI flag. 0d88cdeimport/no-dynamic-require
rule. 29a5263All changes
v0.17.1...v0.18.0
Commits
The new version differs by 23 commits .
bf6260c
0.18.0
34ab00b
Fix some lint issues
f87990a
Bump dependencies
f8e1e3d
Handle negative gitignore patterns correctly (#195)
a0ae248
Ignore directories when receiving an empty extension (#194)
da188e5
Don't trigger duplication errors for Flow type imports (#193)
cb63c5f
Add tip on how to use XO with monorepos
0d88cde
Add
--stdin-filename
option29a5263
Remove the
import/no-dynamic-require
rulea469eb6
Link to the Vim plugin
61c046c
Make the
esnext
optiontrue
by default2e14d1b
feat: apply
.ignores
tolintText
(#169)3e1a318
Add some new
eslint-plugin-promise
rulesad941f5
Fix a TODO
6540a76
Add highlight item about caching
There are 23 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 🌴