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.
This PR contains the following updates:
0.18.2
->0.24.0
Release Notes
xojs/xo
v0.24.0
Compare Source
Highlights
7606f98
node_modules/.cache/xo
. (#351)d1fd3e1
61f9582
import/no-unassigned-import
ruledd2c015
New rules
padding-line-between-statements
no-useless-catch
unicorn/prefer-query-selector
unicorn/prefer-node-append
unicorn/no-unreadable-array-destructuring
unicorn/no-console-spaces
eslint-comments/disable-enable-pair
eslint-comments/no-aggregating-enable
eslint-comments/no-duplicate-disable
eslint-comments/no-unused-disable
eslint-comments/no-unused-enable
node/prefer-global/buffer
node/prefer-global/console
node/prefer-global/process
node/prefer-global/text-decoder
(When targeting Node.js 11)node/prefer-global/text-encoder
(When targeting Node.js 11)node/prefer-global/url-search-params
(When targeting Node.js 10)node/prefer-global/url
(When targeting Node.js 10)All changes
v0.23.0
Compare Source
Highlights
.ts
and.tsx
extensions by default. This caused a lot of problems for non-TS projects, so it has been reverted pending a better solution.quotes
rule is now set to disallow using template literals when you're not using any interpolation. xojs/eslint-config-xo@ea693f3
no-use-before-define
rule. It has too many false-positives. xojs/eslint-config-xo@1257597
New rules
require-await
unicorn/prefer-exponentiation-operator
unicorn/catch-error-name
(See this thread if you're wondering whyerror
is preferred overerr
) (Sorry about the churn, but this is an important milestone towards more readable code. Code is written once but read many times. We should optimize for the latter.)All changes
v0.22.0
Compare Source
Highlights
00d6b7c
8e4f435
-
fixture{-*,}.{js,jsx}
-
fixture{s,}/**
-
{test,tests,spec,__tests__}/fixture{s,}/**
-
**/bundle.js
957b0d9
nodeVersion
option set in anoverride
block.98dee9a
--space
option parsing.f76c901
New rules
no-misleading-character-class
require-atomic-updates
no-async-promise-executor
ava/no-import-test-file
All changes
v0.21.1
Compare Source
Fix
space
/useTabs
conflict message with Prettier.36f7f38
v0.21.0
Compare Source
Highlights
trailingComma
Prettier option is nownone
.f67ff58
4fd6991
prettier-ignore
comments in capitalized-comments rule. xojs/eslint-config-xo@6e417ff
145993e
bda02cb
New rules
Removed rules
v0.20.3
Compare Source
v0.20.2
Compare Source
v0.20.1
Compare Source
v0.20.0
Compare Source
This release is way overdue, so glad to finally have it out! It includes a major ESLint upgrade, huge performance improvements, Prettier support, lots of new rules, and bug fixes.
The project was recently moved to a GitHub organization, and we got a new team member, Pierre Vanduynslager ✨
We now also have configs for TypeScript (using
tslint
) and CSS & Sass (usingstylelint
). And don't forget, we already have a config for React.Many of the new rules in this release are from the
eslint-plugin-unicorn
plugin, which could use some contributions.Highlights
a11e288
fd89175
552cbb1
engines
field inpackage.json
.0d18368
linebreak-style
rule on Windows. xojs/eslint-config-xo@3f81796
spaced-comment
rule more lenient. xojs/eslint-config-xo@e4f1f36
_
as argument name in theno-unused-vars
rule. xojs/eslint-config-xo@dda366b
--open
flag now opens errors first and not warnings.6f6a606
--compact
CLI flag.652a6e5
babel-register
andbabel-polyfill
from theno-unassigned-import
rule.70d6ab4
ecmaVersion
to2018
.9859dfb
New rules
22 new rules!
semi-style
xojs/eslint-config-xo@0b1680e
for-direction
xojs/eslint-config-xo@c957c7f
switch-colon-spacing
xojs/eslint-config-xo@c1c8fc7
no-buffer-constructor
xojs/eslint-config-xo@ee366cb
getter-return
xojs/eslint-config-xo@40e1442
function-paren-newline
xojs/eslint-config-xo@9e90fdc
lines-between-class-members
xojs/eslint-config-xo@c7f63cd
array-bracket-newline
xojs/eslint-config-xo@e2f3748
unicorn/prefer-add-event-listener
unicorn/prefer-spread rule
unicorn/no-unsafe-regex
unicorn/error-message
unicorn/import-index
unicorn/new-for-builtins
unicorn/regex-shorthand
unicorn/escape-case
unicorn/no-hex-escape
promise/no-return-wrap
4273f8a
promise/no-return-in-finally
4273f8a
node/no-unpublished-bin
16fb8e2
node/process-exit-as-throw
16fb8e2
node/no-deprecated-api
16fb8e2
All changes
Why is this not 0.19.0? That version got tainted by an incorrect publish a long time ago.
v0.19.0
Compare Source
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.