chore(deps): update eslint packages #4215
Merged
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:
8.8.0
->8.10.0
7.28.0
->7.29.2
Release Notes
eslint/eslint
v8.10.0
Compare Source
Features
6e2c325
feat: AddignoreOnInitialization
option to no-shadow rule (#14963) (Soufiane Boutahlil)115cae5
feat:--debug
prints time it takes to parse a file (#15609) (Bartek Iwańczuk)345e70d
feat: AddonlyOneSimpleParam
option to no-confusing-arrow rule (#15566) (Gautam Arora)Bug Fixes
cdc5802
fix: Avoid__dirname
for built-in configs (#15616) (DoZerg)ee7c5d1
fix: false positive incamelcase
with combined properties (#15581) (Nitin Kumar)Documentation
1005bd5
docs: update CLA information (#15630) (Nitin Kumar)5d65c3b
docs: Fix typo inno-irregular-whitespace
(#15634) (Ryota Sekiya)b93af98
docs: add links between rules about whitespace around block curly braces (#15625) (Milos Djermanovic)ebc0460
docs: update babel links (#15624) (Milos Djermanovic)Chores
7cec74e
chore: upgrade @eslint/eslintrc@1.2.0 (#15648) (Milos Djermanovic)11c8580
chore: readESLINT_MOCHA_TIMEOUT
env var in Makefile.js (#15626) (Piggy)bfaa548
test: add integration tests with built-in configs (#15612) (Milos Djermanovic)39a2fb3
perf: fix lazy loading of core rules (#15606) (Milos Djermanovic)3fc9196
chore: includetests/conf
in test runs (#15610) (Milos Djermanovic)v8.9.0
Compare Source
Features
68f64a9
feat: update eslint-scope to ignore"use strict"
directives in ES3 (#15595) (Milos Djermanovic)db57639
feat: addes2016
,es2018
,es2019
, andes2022
environments (#15587) (Milos Djermanovic)2dc38aa
feat: fix bug with arrow function return types in function-paren-newline (#15541) (Milos Djermanovic)6f940c3
feat: Implement FlatRuleTester (#15519) (Nicholas C. Zakas)Documentation
570a036
docs: addone-var
example withfor-loop
initializer (#15596) (Milos Djermanovic)417191d
docs: Remove the $ prefix in terminal commands (#15565) (Andreas Lewis)389ff34
docs: add missingVariable#scope
property in the scope manager docs (#15571) (Milos Djermanovic)f63795d
docs: no-eval replace dead link with working one (#15568) (rasenplanscher)0383591
docs: Remove old Markdown issue template (#15556) (Brandon Mills)a8dd5a2
docs: add 'when not to use it' section in no-duplicate-case docs (#15563) (Milos Djermanovic)1ad439e
docs: add missed verb in docs (#15550) (Jeff Mosawy)Chores
586d45c
chore: Upgrade to espree@9.3.1 (#15600) (Milos Djermanovic)623e1e2
chore: Upgrade to eslint-visitor-keys@3.3.0 (#15599) (Milos Djermanovic)355b23d
chore: fix outdated link to Code of Conduct in PR template (#15578) (Rich Trott)b10fef2
ci: use Node 16 for browser test (#15569) (Milos Djermanovic)92f89fb
chore: suggest demo link in bug report template (#15557) (Brandon Mills)yannickcr/eslint-plugin-react
v7.29.2
Compare Source
Fixed
jsx-curly-brace-presence
]: avoid warning on curlies containing quote characters (#3214 @ljharb)jsx-indent
]: do not report on non-jsx-returning ternaries that contain null (#3222 @ljharb)jsx-indent
]: properly report on returned ternaries with jsx (#3222 @ljharb)no-array-index-key
]: detect named-importedcloneElement
/createElement
(#3213 @ljharb)v7.29.1
Compare Source
Fixed
jsx-key
]: prevent false "missing array key" warning (#3215 @ljharb)jsx-indent
]: avoid checking returns sans jsx (#3218 @ljharb)jsx-key
]: avoid a crash (#3220 @ljharb)v7.29.0
Compare Source
Added
hook-use-state
] rule to enforce symmetric useState hook variable names (#2921 @duncanbeevers)jsx-no-target-blank
]: Improve fixer with optionallowReferrer
(#3167 @apepper)jsx-curly-brace-presence
]: add "propElementValues" config option (#3191 @ljharb)iframe-missing-sandbox
] rule (#2753 @tosmolka @ljharb)no-did-mount-set-state
], [no-did-update-set-state
]: no-op with react >= 16.3 (#1754 @ljharb)jsx-sort-props
]: support multiline prop groups (#3198 @duhamelgm)jsx-key
]: addwarnDuplicates
option to warn on duplicate jsx keys in an array (#2614 @ljharb)jsx-sort-props
]: addlocale
option (#3002 @ljharb)Fixed
prop-types
],propTypes
: add support for exported type inference (#3163 @vedadeepta)no-invalid-html-attribute
]: allow 'shortcut icon' onlink
(#3174 @Primajin)prefer-exact-props
] improve performance forIdentifier
visitor (#3190 @meowtec)propTypes
: Handle TSTypeReference in no-unused-prop-type (#3195 @niik)sort-prop-types
]: avoid repeated warnings of the same node/reason (#519 @ljharb)jsx-indent
]: Fix indent handling for closing parentheses (#620 @stefanbuck])prop-types
/propTypes
]: follow a returned identifier to see if it is JSX (#1046 @ljharb)no-unused-state
]: TS: supportgetDerivedStateFromProps
as an arrow function (#2061 @ljharb)no-array-index-key
]: catch.toString
andString()
usage (#2813 @RedTn)function-component-definition
]: do not break on dollar signs (#3207 @ljharb)prefer-stateless-function
]: avoid a crash insidedoctrine
(#2596 @ljharb)prop-types
]: catch infinite loop (#2861 @ljharb)forbid-prop-types
]: properly report name in error message; check undestructured arguments (#2945 @ljharb)Changed
jsx-runtime
] link from branch to sha (#3160 @tatsushitoji)jsx-no-target-blank
]: Improve readme (#3169 @apepper)display-name
]: improve examples (#3189 @golopot)no-invalid-html-attribute
]: sort HTML_ELEMENTS and messages (#3182 @Primajin)forbid-foreign-prop-types
]: documentallowInPropTypes
option (#1815 @ljharb)jsx-sort-default-props
]: remove unnecessary code (#1817 @ljharb)jsx-no-target-blank
]: fix syntax highlighting (#3199 @shamrin)jsx-key
]: improve example (#3202 @chnakamura)jsx-key
]: use more AST selectors (@ljharb)Configuration
📅 Schedule: "on tuesday" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.