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:
5.9.0
->5.13.0
3.3.0
->3.6.0
2.14.0
->2.16.0
6.1.2
->6.2.1
3.0.0
->3.0.1
7.11.1
->7.12.4
Release Notes
eslint/eslint
v5.13.0
Compare Source
91c8884
Chore: use local function to append "s" instead of a package (#11293) (Timo Tijhof)b5143bf
Update: for-direction detection false positives/negatives (#11254) (Ruben Bridgewater)9005e63
Chore: increase camelcase test coverage (#11299) (Redmond Tran)5b14ad1
Fix: false positive in no-constant-condition (fixes #11306) (#11308) (Pig Fang)6567c4f
Fix: only remove arrow before body in object-shorthand (fixes #11305) (#11307) (Pig Fang)fa2f370
Docs: update rule configuration values in examples (#11323) (Kai Cataldo)0a3c3ff
New: Allow globals to be disabled/configured with strings (fixes #9940) (#11338) (Teddy Katz)dccee63
Chore: avoid hard-coding the list of core rules in eslint:recommended (#11336) (Teddy Katz)c1fd6f5
Chore: remove undocumentedLinter#rules
property (refs #9161) (#11335) (Teddy Katz)36e3356
Chore: remove dead code for loading rules (#11334) (Teddy Katz)c464e27
Docs: Renameresult
->foo
(#11210) (Alexis Tyler)v5.12.1
Compare Source
eb5c401
Chore: use meta.messages in some rules (2/4) (refs #9870) (#10773) (薛定谔的猫)aa56247
Fix: avoid loading core rules dynamically from FS in Linter (#11278) (Peter Metz)04450bb
Docs: clarify process for adding committers (#11272) (Kai Cataldo)3ffcf26
Docs: add @g-plane as committer (#11277) (Kai Cataldo)c403445
Fix: warn constant on RHS of || in no-constant-condition (fixes #11181) (#11253) (Merlin Mason)9194f45
Fix: Manage severity of 1 with TAP reporter (fixes #11110) (#11221) (Gabriel Cousin)000f495
Docs: fix example for sort-imports ignoreDeclarationSort (#11242) (Remco Haszing)7c0bf2c
Docs: Addnpx
usage to Getting Started guide (#11249) (eyal0803)da9174e
Docs: fixes typo peerDepencies (#11252) (Christian Kühl)9c31625
Docs: Improve custom formatter docs (#11258) (Nicholas C. Zakas)v5.12.0
Compare Source
0d91e7d
Update: Add sort-imports ignoreDeclarationSort (fixes #11019) (#11040) (Remco Haszing)f92d6f0
Build: Add karma-chrome-launcher support (#11027) (薛定谔的猫)166853d
Upgrade: eslint-plugin-eslint-plugin@2.0.1 (#11220) (薛定谔的猫)bfff77a
Fix: no-param-reassign parameter in ternary operator (fixes #11236) (#11239) (周昊宇)258b654
Upgrade: require-uncached renamed to import-fresh (#11066) (薛定谔的猫)v5.11.1
Compare Source
de79f10
Fix: handle optional catch bindings in no-useless-catch (#11205) (Colin Ihrig)v5.11.0
Compare Source
b4395f6
New: add optionfirst
for VariableDeclarator in indent (fixes #8976) (#11193) (Pig Fang)2b5a602
New: no-useless-catch rule (fixes #11174) (#11198) (Alexander Grasley)06b3b5b
Fix: Account for comments in implicit-arrow-linebreak (#10545) (Mark de Dios)4242314
Update: handle computed properties in camelcase (fixes #11084) (#11113) (Bence Dányi)1009304
Docs: add a note for no-unused-expressions (fixes #11169) (#11192) (Pig Fang)88f99d3
Docs: clarify how to use configs in plugins (#11199) (Kai Cataldo)bcf558b
Docs: Clarify the no-unused-vars docs (#11195) (Jed Fox)a470eb7
Docs: Fix no-irregular-whitespace description (#11196) (Jed Fox)8abc8af
Docs: Remove a misleading example (#11204) (Bogdan Gradinariu)733d936
Docs: link to JSDoc EOL blogpost in valid-jsdoc and require-jsdoc (#11191) (Nathan Diddle)d5eb108
Docs: Ensuretriage
label is added to new issues (#11182) (Teddy Katz)617a287
Docs: add missing deprecation notices for jsdoc rules (#11171) (Teddy Katz)v5.10.0
Compare Source
4b0f517
Upgrade: single- and multiline const, let, var statements (fixes #10721) (#10919) (Tom Panier)9666aba
Update: space-infix-ops reports violating operator (#10934) (Bence Dányi)c14f717
Fix: Update all-files-ignored.txt message to be less confusing (#11075) (z.ky)9f3573d
Docs: Clarify the CLIEngine options (#10995) (Ed Morley)dd7b0cb
Chore: refactor template literal feature detection in 'quotes' rule (#11125) (Bryan)3bf0332
Fix: fix the fixer of lone comma with comments (fixes #10632) (#11154) (Pig Fang)f850726
Upgrade: Espree v5.0.0 (#11161) (Kai Cataldo)4490d7a
Update: deprecate valid-jsdoc and require-jsdoc (#11145) (Teddy Katz)60dfb6c
Docs: Update issue templates (#11163) (Teddy Katz)958987a
Docs: Fix link to rule no-useless-rename (#11165) (Brian)62fd2b9
Update: Amend keyword-spacing to validatedefault
keywords (#11097) (Bin Ury)4bcdfd0
Chore: fix some jsdoc-related issues (#11148) (薛定谔的猫)c6471ed
Docs: fix typo in issue-templates/new-rule (#11149) (薛定谔的猫)5d451c5
Chore: Remove dependency on is-resolvable (#11128) (Matt Grande)bc50dc7
Chore: Move ignored-paths, report-translator to lib/util (refs #10559) (#11116) (Kevin Partington)c0a80d0
Fix: Do not strip underscores in camelcase allow (fixes #11000) (#11001) (Luke Page)a675c89
Docs: (Grammar) "the setup" -> "to set up" (#11117) (MarvinJWendt)54dfa60
Fix: Typo in function comment parameters (#11111) (Pierre Maoui)cf296bd
Docs: switch incorrect example with correct one (#11107) (Romain Le Quellec)d2d500c
Docs: no-console#When-Not-To-Use provides incorrect rule snippet (#11093) (Lawrence Chou)f394a1d
Chore: Extract config comment parsing (#11091) (Nicholas C. Zakas)709190f
Build: fix test failure on Node 11 (#11100) (Teddy Katz)3025cdd
Update: don't indent leading semi in line after import (fixes #11082) (#11085) (Pig Fang)e18c827
Chore: refactor linter#parseBooleanConfig to improve readability (#11074) (薛定谔的猫)5da378a
Upgrade: eslint-release@1.2.0 (#11073) (Teddy Katz)prettier/eslint-config-prettier
v3.6.0
Compare Source
(@silvenon)!
v3.5.0
Compare Source
requires eslint-plugin-vue@5, while many use eslint-plugin-vue@4. In other
words, it was an accidental breaking change. Also, after thinking about it
some more, it makes sense to have a Prettier-specific list of rules, rather
than using the
vue/no-layout-rules
list, since there can be layout rulesthat don’t conflict with but rather complement Prettier.
v3.4.0
Compare Source
vue/no-layout-rules
config behind the scenes, so it should automaticallystay up-to-date when new eslint-plugin-vue versions are released. Thanks to
Michał Sajnóg (@michalsnik)!
benmosher/eslint-plugin-import
v2.16.0
Compare Source
Added
typescript
config ([#1257], thanks [@kirill-konshin])Fixed
SourceCode
objects for all parsed dependencies, resolved. (issue [#1266], thanks [@asapach] and [@sergei-startsev] for digging in)v2.15.0
Compare Source
Added
no-named-export
] ([#1157], thanks [@fsmaia])Fixed
no-extraneous-dependencies
]:packageDir
option with array value was clobbering package deps instead of merging them ([#1175]/[#1176], thanks [@aravindet] & [@pzhine])dynamic-import-chunkname
]: Add proper webpack comment parsing ([#1163], thanks [@st-sloth])named
]: fix destructuring assignment ([#1232], thanks [@ljqx])evcohen/eslint-plugin-jsx-a11y
v6.2.1
Compare Source
=================
9980e45
[fix] Prevent Error when JSXSpreadAttribute is passed to isSemanticRoleElementv6.2.0
Compare Source
=================
5650674
[new rule] control-has-associated-label checks interactives for a labelf234698
[docs] add How to manage IDs9924d03
[docs] document jsx-a11y/label-has-associated-control assert option77b9870
[docs] Add newlines below headings8244e43
[docs] Add syntax highlighting to example26f41c8
[docs] Change explanation for role="presentation" escape hatch33a1f94
[fix] - Purely decorative emojis do not need descriptions.29d20f7
fix: update emoji-regex to version 7.0.20b63f73
chore: update flow-bin to version 0.88.0baa1344
[fix] Disable jsx-a11y/label-has-for in recommended2c5fb06
chore: update jscodeshift to version 0.6.087debc0
[fix] corrected no-noninteractive-element-to-interactive-role.md filed56265b
chore: update flow-bin to version 0.87.0477966f
[fix] Update test for implicit role ofimg
f484ce3
[fix] No implicit role for<img>
withalt=""
6c33bcb
[fix] Add select to the list of default control elements in label-has-associated-control011f8d9
[fix] Dialog and Alert roles can host keyboard listeners0f6a8af
[fix] More easierplugin:jsx-a11y/{recommended,strict}
configs3844248
[fix] Mark the replacement for label-has-for93265cb
[fix] normalizedValues to values651366c
[fix] Make aria-role case sensitive56d3b9a
[fix][484] Fix role-has-required-aria-props for semantic elements like input[checkbox]46e9abd
[fix] Handle the type={truthy} case in jsxprettier/eslint-plugin-prettier
v3.0.1
Compare Source
yannickcr/eslint-plugin-react
v7.12.4
Compare Source
Fixed
no-unused-prop-types
][]: avoid a crash (#2131, @ljharb)prop-types
][]: avoid further crashes from nonexistent nodes in unusedPropTypes (#2127, @ljharb)prop-types
][]: Read name of callee object (#2125, @CrOrc)prop-types
][]: Ignore reassignments when matching props declarations with components (#2051, #1957, @yannickcr)prop-types
][], [no-unused-prop-types
][], [require-default-props
][]: Detect components with return statement in switch/case (#2118, @yannickcr)Changed
prop-types
][], [no-typos
][]: add passing test cases (#2123, #2128, #2136, #2134, @ljharb)v7.12.3
Compare Source
Fixed
jsx-indent
][]: Prevent crash on valueless props (#2120, @jomasti)jsx-fragments
][]: avoid crashing on self-closing fragments (#2113, @alexzherdev)no-unused-prop-types
][]: Fix propType detection inside class bodies (#2115, @drx)no-unused-prop-types
][]: fix issue with propTypes misclassifying props (#2111, @drx)display-name
][]: fix false positive forReact.memo
(#2109, @jomasti)Changed
v7.12.2
Compare Source
Fixed
prop-types
][]: avoid crash on used prevProps (#2095, @ljharb)forbid-prop-types
][]: fix crash with propWrapper check on MemberExpressions (#2104, @ljharb)v7.12.1
Compare Source
Fixed
no-unused-state
][]: Fix crash with class fields (#2098, @jomasti)prop-types
][]: Fix false positives inside lifecycle methods (#2099, @jomasti)jsx-max-depth
][]: avoid a crash (#2102, @ljharb)jsx-wrap-multilines
][]: avoid crash when no trailing newline (#2100, @ljharb)Changed
v7.12.0
Compare Source
Added
no-typos
]: Support createClass (#1828, @alexzherdev)jsx-indent
][]: addcheckAttributes
option for JSX attribute indentation (#2086, @jomasti)propWrapperFunctions
setting values (#2065, @jomasti)jsx-fragments
][] rule to enforce fragment syntax (#1994, @alexzherdev)jsx-no-literals
][]: print node value in warning message (#2008, @jlgonzalezdev)Fixed
jsx-max-depth
][]: Fix depth of JSX siblings in a JSXEpressionContainer (#1824, @alexzherdev)no-array-index-key
][]: fix in React.Children methods (#2085, @himynameisdave)no-unused-state
][]: handle functional setState (#2084, @jomasti)no-deprecated
][]: Disable legacy lifecycle methods linting for now (#2069, @sergei-startsev)forbid-foreign-prop-types
][]: ensureallowInPropTypes
option applies to class fields (#2040, @Sheile)jsx-wrap-multilines
][]: catch single missing newlines (#1984, @MrHen)jsx-first-prop-new-line
][]: Fix for parsers (like TypeScript) (#2026, @HauptmannEck)sort-comp
][]: Fix fixer in case of more than 10 props (#2012, @tihonove)no-unused-state
][] Don't depend on state parameter name (#1829, @alexzherdev)no-this-in-sfc
][] fix for class properties (#1995, @sergei-startsev)no-this-in-sfc
][] fix rule behavior for arrow functions inside a class field (#1989, @sergei-startsev)destructuring-assignment
][]: handle nested props usage (#1983, @alexzherdev)sort-prop-types
][]: fix string property order (#1977, @metreniuk)jsx-no-target-blank
][]: don’t crash when there’s no value (#1949, @ljharb)prop-types
][], [no-unused-prop-types
][]: better handle object spread (#1939, @alexzherdev)Changed
jsx-fragments
][]: improve message text (#2032, @alexzherdev)no-unsafe
][]: handle all unsafe life-cycle methods (#2075, @sergei-startsev)require-default-props
][]: Change error message naming from singular defaultProp to plural defaultProps (#2064, @jseminck)propTypes
detection (#1946, @alexzherdev)defaultProps
detection (#1942, @alexzherdev)propTypes
detection (#2001, @alexzherdev)no-did-mount-set-state
][], [no-did-update-set-state
][], [no-will-update-set-state
][]: fix docs URLs (#2090, @JBallin)jsx-sort-props
][]: Fix small mistake (#2044, @dimitarnestorov)no-unescaped-entities
][]: add more escape examples (#2015, @stevemao)display-name
][]: mention defaultignoreTranspilerName
value (#2002, @OliverJAsh)jsx-no-target-blank
][]: Add full example (#1988, @atomcorp)jsx-no-target-blank
][].md (#1953, @brunocoelho)require('babel-eslint')
from tests (#2004, @sergei-startsev)prop-types
][]: Add tests for prop-types destructuring (#2029, @sstern6)display-name
][]: add false positive component detection for destructured createElement (#1098, @arian)Renovate configuration
📅 Schedule: "before 3am on Monday" in timezone Europe/Zurich.
🚦 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!
".👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.