This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
chore: update eslint and prettier (minor) #386
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.2.0
->^8.3.0
^6.4.1
->^6.5.1
^7.26.1
->^7.27.1
^4.2.0
->^4.3.0
^2.4.1
->^2.5.0
Release Notes
eslint/eslint
v8.3.0
Compare Source
Features
60b0a29
feat: addallowProperties
option to require-atomic-updates (#15238) (Milos Djermanovic)79278a1
feat: update no-use-before-define for class static blocks (#15312) (Milos Djermanovic)ddd01dc
feat: update no-redeclare for class static blocks (#15313) (Milos Djermanovic)de69cec
feat: update no-inner-declarations for class static blocks (#15290) (Milos Djermanovic)e2fe7ef
feat: support for private-in syntax (fixes #14811) (#15060) (Yosuke Ota)34bc8d7
feat: Update espree and eslint-scope (#15338) (Brandon Mills)b171cd7
feat: update max-depth for class static blocks (#15316) (Milos Djermanovic)6487df3
feat: update padded-blocks for class static blocks (#15333) (Milos Djermanovic)194f36d
feat: update the complexity rule for class static blocks (#15328) (Milos Djermanovic)3530337
feat: update the indent rule for class static blocks (#15324) (Milos Djermanovic)f03cd14
feat: update lines-around-comment for class static blocks (#15323) (Milos Djermanovic)5c64747
feat: update brace-style for class static blocks (#15322) (Milos Djermanovic)df2f1cc
feat: update max-statements for class static blocks (#15315) (Milos Djermanovic)fd5a0b8
feat: update prefer-const for class static blocks (#15325) (Milos Djermanovic)b3669fd
feat: code path analysis for class static blocks (#15282) (Milos Djermanovic)15c1397
feat: update eslint-scope for class static blocks (#15321) (Milos Djermanovic)1a1bb4b
feat: update one-var for class static blocks (#15317) (Milos Djermanovic)9b666e0
feat: update padding-line-between-statements for class static blocks (#15318) (Milos Djermanovic)d3a267f
feat: update class-methods-use-this for class static blocks (#15298) (Milos Djermanovic)cdaa541
feat: update no-lone-blocks for class static blocks (#15295) (Milos Djermanovic)8611538
feat: update block-spacing for class static blocks (#15297) (Milos Djermanovic)7b56844
feat: update keyword-spacing for class static blocks (#15289) (Milos Djermanovic)ea18711
feat: update no-extra-semi for class static blocks (#15287) (Milos Djermanovic)0f0971f
feat: update semi rule for class static blocks (#15286) (Milos Djermanovic)abe740c
feat: add examples for block-scoped-var with class static blocks (#15302) (Milos Djermanovic)0338fd2
feat: Normalize ecmaVersion to eslint-scope when using custom parser (#15268) (Yosuke Ota)Bug Fixes
8aa7645
fix: update vars-on-top for class static blocks (#15306) (Milos Djermanovic)479a4cb
fix: update semi-style for class static blocks (#15309) (Milos Djermanovic)6d1c666
fix: update no-invalid-this and no-eval for class static blocks (#15300) (Milos Djermanovic)Documentation
6b85426
docs: Expand--debug
option description in the CLI documentation (#15308) (darkred)3ae5258
docs: the strict rule does not apply to class static blocks (#15314) (Milos Djermanovic)9309841
docs: Remove inconsistent colon in pull request docs (#15303) (Jordan Eldredge)da238cc
docs: remove deprecation note from lines-around-comment (#15293) (Milos Djermanovic)1055f16
docs: no-unused-expressions - class static blocks don't have directives (#15283) (Milos Djermanovic)4c55216
docs: Add variables option to no-use-before-define (#15276) (Mathias Rasmussen)Chores
edd8d24
chore: upgrade eslint-visitor-keys for class static blocks (#15277) (Milos Djermanovic)jsx-eslint/eslint-plugin-jsx-a11y
v6.5.1
Compare Source
==================
8f7d0b0
[Fix] properly buildmodule.exports
(#824)2fd2087
[Dev Deps] updateeslint-plugin-import
v6.5.0
Compare Source
==================
0f5f582
[New] support ESLint 8.x (#810)1dbc416
[Deps] update@babel/runtime
,axe-core
4043d31
[Dev Deps] update@babel/cli
,@babel/core
,@babel/eslint-parser
,@babel/plugin-transform-flow-strip-types
,eslint-config-airbnb-base
d143cba
[Docs] HTTP => HTTPS (#823)309b040
[Docs]anchor-has-content
: add missing close / for jsx succeed example (#821)ba1e312
[eslint] simplify eslint command0269025
[meta] change allmaster
references in URLs toHEAD
f1414cf
[Dev Deps] addeslint-plugin-eslint-plugin
(#818)f44fc05
[meta] update URLsdf34872
[Refactor] switch toexport default
syntax for exporting rules (#819)ff26b82
[meta] fix prepublish scriptsd4a57d8
[Deps] update@babel/runtime
,array-includes
,axe-core
,jsx-ast-utils
bd1dec6
[Dev Deps] update@babel/cli
,@babel/core
,@babel/eslint-parser
,eslint-plugin-import
,estraverse
,safe-publish-latest
434c4cf
[Tests] do not test eslint 7 on node 11aed7a20
[Tests] use@babel/eslint-parser
instead ofbabel-eslint
(#811)0021489
[actions] use codecov action1251088
[meta] delete FUNDING.yml in favor of.github
repoecf7a27
[Docs]scope
: replace duplicatescope
word (#799)952af25
[Fix]no-access-key
: Fix wording and grammar (#800)6cf7ac0
[Dev Deps] update@babel/cli
,@babel/core
,@babel/plugin-transform-flow-strip-types
,aud
,eslint-plugin-flowtype
,eslint-plugin-import
79a35d4
[Deps] update@babel/runtime
,axe-core
,damerau-levenshtein
2a9ab71
[Tests] deletesrc/util/getComputedRole-test.js
test in node 60c1c587
[Tests]autocomplete-valid
: move some failed tests to passing8830902
[Tests] fix eslint < 7 not understandingimport type
d57887c
[Tests] ensure all tests run55e5c11
Support img role for canvas (#796)36102cd
[meta] useprepublishOnly
script for npm 7+2501a7f
Remove the link-button focus css from the anchor-is-valid doc (#662)d927625
Update recommended config to allow fieldset to have the radiogroup role (#746)5aa8db9
[Docs] Clarify the title of the strictness table in the main doc (#786)df3c7ad
[Docs] Document the similarity between html-has-lang and lang (#778)426d4c2
Fix Flow warnings (#785)ecec8e4
Fully deprecate accessible-emoji rule (#782)8a0e43c
[Tests] remove .travis.ymlf88bf6b
[Dev Deps] updateflow-bin
to support aarch64 (#784)369f9db
[Dev Deps] update@babel/cli
,@babel/core
,@babel/plugin-transform-flow-strip-types
,aud
,eslint-plugin-flowtype
,jscodeshift
ce0785f
[Deps] update@babel/runtime
,array-includes
,axe-core
,emoji-regex
2c2a2ad
[actions] update to usenode/install
actionc275964
[Docs]anchor-is-valid
: general cleanup (#728)3df059e
[Docs]no-redundant-roles
: Adds missing closing square bracket (#775)42ce5b7
[Docs]anchor-is-valid
: Add Next.js case (#769)2e5df91
[Tests] fix tests breaking on npm 7066ccff
[Docs]no-noninteractive-tabindex
: Add example for tabIndex on seemingly non-interactive element (#760)6b19aa5
[Tests] migrate tests to Github Actions (#764)7e158e3
[meta] runaud
inposttest
71f390f
[Tests] stop using coverallse54b466
[meta] add Automatic Rebase and Require Allow Edits workflows7d5511d
[New]label-has-associated-control
: Add glob support (#749)854da0c
Ran npm update; latest packages (#763)8637aa7
(source/pr/734, fork/pr/26) [patch]strict
config: Turn offlabel-has-for
(#734)d85ce54
[doc] Add link to MDN Aria documentation (#762)20b48a4
[patch]no-onchange
: Remove rule from recommended/strict configs, and deprecate (#757)yannickcr/eslint-plugin-react
v7.27.1
Compare Source
Fixed
no-invalid-html-attribute
]: allowlink
rel
to haveapple-touch-icon
,mask-icon
(#3132 @ljharb)no-unused-class-component-methods
]: addgetChildContext
lifecycle method (#3136 @yoyo837)prop-types
]: fix false positives on renames in object destructuring (#3142 @golopot)no-arrow-function-lifecycle
]: fix invalid autofix from a concise arrow method to a regular one (#3145 @ljharb)display-name
]: avoid false positives on non-creatClass object expressions (#3144 @ljharb)Changed
v7.27.0
Compare Source
Added
no-unused-class-component-methods
]: Handle unused class component methods (#2166 @jakeleventhal @pawelnvk)no-arrow-function-lifecycle
] (#1980 @ngtan)@typescript-eslint/parser
v5 (@ljharb)no-invalid-html-attribute
]: add rule (#2863 @Nokel81)Fixed
propTypes
: addVoidFunctionComponent
to react generic list (#3092 @vedadeepta)jsx-fragments
], [jsx-no-useless-fragment
]: avoid a crash on fragment syntax intypescript-eslint
parser (@ljharb)jsx-props-no-multi-spaces
]: avoid a crash on long member chains in tag names intypescript-eslint
parser (@ljharb)no-unused-prop-types
],usedPropTypes
: avoid crash with typescript-eslint parser (@ljharb)display-name
]: unwrap TSas
expressions (#3110 @ljharb)destructuring-assignment
]: detect refs nested in functions (#3102 @ljharb)no-unstable-components
]: improve handling of objects containing render function properties (#3111 @fizwidget)prop-types
],propTypes
: add forwardRef<>, ForwardRefRenderFunction<> prop-types (#3112 @vedadeepta)no-typos
]: prevent a crash when using private methods (@ljharb)destructuring-assignment
], component detection: improve component detection (#3122 @vedadeepta)no-invalid-html-attribute
]: avoid crash on spread props (#3126 @ljharb)Changed
jsx-no-target-blank
]: adjust options description (#3124 @gebsh)facebook/react
v4.3.0
useTransition
signature in the rule. (@rickhanlonii in #20976)prettier/prettier
v2.5.0
Compare Source
diff
🔗 Release Notes
Configuration
📅 Schedule: "after 8am before 10am on Monday" in timezone Asia/Tokyo.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.