Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update eslint and prettier (minor) #386

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 21, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint (source) ^8.2.0 -> ^8.3.0 age adoption passing confidence
eslint-plugin-jsx-a11y ^6.4.1 -> ^6.5.1 age adoption passing confidence
eslint-plugin-react ^7.26.1 -> ^7.27.1 age adoption passing confidence
eslint-plugin-react-hooks (source) ^4.2.0 -> ^4.3.0 age adoption passing confidence
prettier (source) ^2.4.1 -> ^2.5.0 age adoption passing confidence

Release Notes

eslint/eslint

v8.3.0

Compare Source

Features

  • 60b0a29 feat: add allowProperties 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

==================

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 command
  • 0269025 [meta] change all master references in URLs to HEAD
  • f1414cf [Dev Deps] add eslint-plugin-eslint-plugin (#​818)
  • f44fc05 [meta] update URLs
  • df34872 [Refactor] switch to export default syntax for exporting rules (#​819)
  • ff26b82 [meta] fix prepublish scripts
  • d4a57d8 [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 11
  • aed7a20 [Tests] use @babel/eslint-parser instead of babel-eslint (#​811)
  • 0021489 [actions] use codecov action
  • 1251088 [meta] delete FUNDING.yml in favor of .github repo
  • ecf7a27 [Docs] scope: replace duplicate scope 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] delete src/util/getComputedRole-test.js test in node 6
  • 0c1c587 [Tests] autocomplete-valid: move some failed tests to passing
  • 8830902 [Tests] fix eslint < 7 not understanding import type
  • d57887c [Tests] ensure all tests run
  • 55e5c11 Support img role for canvas (#​796)
  • 36102cd [meta] use prepublishOnly 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.yml
  • f88bf6b [Dev Deps] update flow-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 use node/install action
  • c275964 [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 7
  • 066ccff [Docs] no-noninteractive-tabindex: Add example for tabIndex on seemingly non-interactive element (#​760)
  • 6b19aa5 [Tests] migrate tests to Github Actions (#​764)
  • 7e158e3 [meta] run aud in posttest
  • 71f390f [Tests] stop using coveralls
  • e54b466 [meta] add Automatic Rebase and Require Allow Edits workflows
  • 7d5511d [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 off label-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]: allow link rel to have apple-touch-icon, mask-icon (#​3132 @​ljharb)
  • [no-unused-class-component-methods]: add getChildContext 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
Fixed
  • propTypes: add VoidFunctionComponent to react generic list (#​3092 @​vedadeepta)
  • [jsx-fragments], [jsx-no-useless-fragment]: avoid a crash on fragment syntax in typescript-eslint parser (@​ljharb)
  • [jsx-props-no-multi-spaces]: avoid a crash on long member chains in tag names in typescript-eslint parser (@​ljharb)
  • [no-unused-prop-types], usedPropTypes: avoid crash with typescript-eslint parser (@​ljharb)
  • [display-name]: unwrap TS as 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
facebook/react

v4.3.0

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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner November 21, 2021 15:49
@renovate renovate bot requested review from yt-ymmt and MRTAFU and removed request for a team November 21, 2021 15:49
@renovate renovate bot added the renovate label Nov 21, 2021
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 04e1113 to de81436 Compare November 21, 2021 21:44
Copy link
Contributor

@yt-ymmt yt-ymmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI通っていれば大丈夫そう

@yamish123
Copy link
Contributor

yamish123 commented Nov 24, 2021

eslint-plugin-react-hooksのeslint v8対応がこれで取り込まれますね!

facebook/react#22545
https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md#430

@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from de81436 to 3bb6793 Compare November 28, 2021 23:11
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 3bb6793 to 2d513b7 Compare November 29, 2021 00:30
Copy link
Contributor

@kgsi kgsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

eslint-plugin-react-hooksはデザインシステムでも同じ課題が上がっていたので、早めにマージしたいですね。

@kgsi kgsi merged commit e6b957b into master Dec 1, 2021
@kgsi kgsi deleted the renovate/eslint-and-prettier branch December 1, 2021 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants