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

Update ESLint and Prettier (minor) #843

Merged
merged 3 commits into from
Oct 17, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint (source) ^8.46.0 -> ^8.51.0 age adoption passing confidence
eslint-config-smarthr 6.8.9 -> 6.13.0 age adoption passing confidence
eslint-plugin-mdx (source) ^2.1.0 -> ^2.2.0 age adoption passing confidence

Release Notes

eslint/eslint (eslint)

v8.51.0

Compare Source

Features

  • 0a9c433 feat: Add --no-warn-ignored CLI option for flat config (#​17569) (Domantas Petrauskas)
  • 977e67e feat: logical-assignment-operators to report expressions with 3 operands (#​17600) (Yosuke Ota)

Bug Fixes

  • f976b2f fix: make rule severity case-sensitive in flat config (#​17619) (Milos Djermanovic)
  • 0edfe36 fix: Ensure crash error messages are not duplicated (#​17584) (Nicholas C. Zakas)
  • dd79abc fix: eslint-disable to be able to parse quoted rule names (#​17612) (Yosuke Ota)
  • d2f6801 fix: Ensure correct code path for && followed by ?? (#​17618) (Nicholas C. Zakas)

Documentation

  • ee5be81 docs: default to sourceType: "module" in rule examples (#​17615) (Francesco Trotta)
  • 1aa26df docs: Add more examples for multiline-ternary (#​17610) (George Ashiotis)
  • 47d0b44 docs: Update README (GitHub Actions Bot)
  • dbf831e docs: use generated og image (#​17601) (Percy Ma)
  • 1866da5 docs: Update README (GitHub Actions Bot)

Chores

v8.50.0

Compare Source

Features

  • 27d5a9e feat: add suggestions to array-callback-return (#​17590) (Tanuj Kanti)
  • f9082ff feat: flat-rule-tester make sure default config always matches (#​17585) (fnx)
  • 83914ad feat: Implement SourceCode#applyInlineConfig() (#​17351) (Nicholas C. Zakas)
  • 22a5582 feat: add rule no-object-constructor, deprecate no-new-object (#​17576) (Francesco Trotta)
  • 85a3d9e feat: allowVoid option in array-callback-return (#​17564) (Tanuj Kanti)

Bug Fixes

  • cc4d26b fix: Ensure deprecated context.parserServices warns (#​17593) (Nicholas C. Zakas)
  • 1ea4cfb fix: Ensure all RuleTester tests all deprecated context methods (#​17587) (Nicholas C. Zakas)
  • aa1b657 fix: wrong suggestion and message in no-misleading-character-class (#​17571) (Yosuke Ota)

Documentation

  • 1800537 docs: Fix and standardize JSX code examples (#​17591) (Francesco Trotta)
  • 48a44a7 docs: Add correct/incorrect tags to prefer-arrow-callback (#​17589) (Francesco Trotta)
  • 20893d4 docs: fix incorrect tag's place (#​17575) (Tanuj Kanti)
  • bd7a71f docs: Update README (GitHub Actions Bot)

Chores

v8.49.0

Compare Source

Features

  • da09f4e feat: Implement onUnreachableCodePathStart/End (#​17511) (Nicholas C. Zakas)
  • 32b2327 feat: Emit deprecation warnings in RuleTester (#​17527) (Nicholas C. Zakas)
  • acb7df3 feat: add new enforce option to lines-between-class-members (#​17462) (Nitin Kumar)

Documentation

  • ecfb54f docs: Update README (GitHub Actions Bot)
  • de86b3b docs: update no-promise-executor-return examples (#​17529) (Nitin Kumar)
  • 032c4b1 docs: add typescript template (#​17500) (James)
  • cd7da5c docs: Update README (GitHub Actions Bot)

Chores

v8.48.0

Compare Source

Features
  • 1fbb3b0 feat: correct update direction in for-direction (#​17483) (Francesco Trotta)
  • d73fbf2 feat: rule tester do not create empty valid or invalid test suites (#​17475) (fnx)
  • ee2f718 feat: Allow void in rule no-promise-executor-return (#​17282) (nopeless)
Bug Fixes
  • 7234f6a fix: update RuleTester JSDoc and deprecations (#​17496) (Jonas Berlin)
Documentation
  • 7a51d77 docs: no-param-reassign mention strict mode (#​17494) (Stephen Hardy)
  • 9cd7ac2 docs: add fetch script to package.json conventions (#​17459) (Nitin Kumar)
  • cab21e6 docs: advice for inline disabling of rules (#​17458) (Ashish Yadav)
  • 056499d docs: fix example of flat config from plugin (#​17482) (Francesco Trotta)
  • 9e9edf9 docs: update documentation URL in error message (#​17465) (Nitin Kumar)
Chores

v8.47.0

Compare Source

Features

  • 53d7508 feat: update regex for methods with thisArg (#​17439) (Francesco Trotta)

Bug Fixes

  • 631648e fix: do not report on shadowed constructors in no-new-wrappers (#​17447) (Francesco Trotta)

Documentation

Chores

kufu/eslint-config-smarthr (eslint-config-smarthr)

v6.13.0

Compare Source

Features
  • eslint-plugin-smarthrを更新(a11y-image-has-alt-attribute,a11y-heading-in-sectioning-contentに機能追加) (7e40182)
6.12.2 (2023-09-28)
6.12.1 (2023-09-20)

v6.12.2

Compare Source

v6.12.1

Compare Source

v6.11.0

Compare Source

Features
  • eslint-plugin-smarthrをv0.3.8にupdate (49d4759)
6.10.1 (2023-09-01)

v6.10.1

Compare Source

v6.10.0

Compare Source

Features
  • eslint-plugin-prettier が v5でエラーになるため、^4.2.1 に戻す (8cca49a)
6.9.1 (2023-08-20)

v6.9.1

Compare Source

v6.9.0

Compare Source

Features
  • a11y-heading-in-sectioning-content のデフォルトを errorに変更 (e28cd8c)
6.8.9 (2023-07-28)
6.8.8 (2023-07-18)
6.8.7 (2023-07-10)
6.8.6 (2023-07-07)
6.8.5 (2023-05-12)
6.8.4 (2023-05-12)
6.8.3 (2023-04-14)
6.8.2 (2023-04-04)
6.8.1 (2023-03-13)
mdx-js/eslint-mdx (eslint-plugin-mdx)

v2.2.0

Compare Source

What's Changed

Full Changelog: mdx-js/eslint-mdx@v2.1.0...v2.2.0


Configuration

📅 Schedule: Branch creation - "before 12pm on Monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot added the renovate label Aug 6, 2023
renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 6, 2023
@renovate renovate bot enabled auto-merge (rebase) August 6, 2023 19:01
@netlify
Copy link

netlify bot commented Aug 6, 2023

Deploy Preview for smarthr-design-system ready!

Name Link
🔨 Latest commit 3b2b1da
🔍 Latest deploy log https://app.netlify.com/sites/smarthr-design-system/deploys/652e1d0c595d0400097c74ac
😎 Deploy Preview https://deploy-preview-843--smarthr-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch 2 times, most recently from 5d46177 to dc917e1 Compare August 7, 2023 00:34
@renovate renovate bot changed the title Update dependency eslint-config-smarthr to v6.9.0 Update ESLint and Prettier (minor) Aug 13, 2023
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from dc917e1 to 332a5b6 Compare August 13, 2023 15:45
renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 13, 2023
renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 13, 2023
renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 20, 2023
renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 21, 2023
renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 27, 2023
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch 3 times, most recently from 9bc404a to 05e7b6b Compare August 28, 2023 02:05
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 05e7b6b to dc2bbd4 Compare September 3, 2023 15:40
renovate-approve[bot]
renovate-approve bot previously approved these changes Sep 3, 2023
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 3ef974b to a108bd1 Compare October 1, 2023 16:52
renovate-approve[bot]
renovate-approve bot previously approved these changes Oct 1, 2023
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch 4 times, most recently from 083a9c1 to 84f9f49 Compare October 2, 2023 01:06
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 84f9f49 to ca9ef77 Compare October 8, 2023 15:57
renovate-approve[bot]
renovate-approve bot previously approved these changes Oct 8, 2023
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch 3 times, most recently from 23d9155 to ac4f55a Compare October 9, 2023 00:41
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from ac4f55a to 88f8679 Compare October 15, 2023 15:55
renovate-approve[bot]
renovate-approve bot previously approved these changes Oct 15, 2023
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch 2 times, most recently from 019d0a0 to 4c3c75e Compare October 15, 2023 21:27
@renovate renovate bot force-pushed the renovate/eslint-and-prettier branch from 4c3c75e to ae87ca3 Compare October 16, 2023 00:41
@renovate
Copy link
Contributor Author

renovate bot commented Oct 17, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@yuw27b yuw27b force-pushed the renovate/eslint-and-prettier branch from c6998d4 to 3b2b1da Compare October 17, 2023 05:35
@yuw27b
Copy link
Contributor

yuw27b commented Oct 17, 2023

ルールのアップデートにより、ESLintでエラーが出ていたので対応しました:3b2b1da

差分は多いですが、ほとんどは arrow-body-style ルールに関する自動修復です。

それ以外では、smarthr/a11y-heading-in-sectioning-contentsmarthr/a11y-clickable-element-has-textが指摘されていましたが、これらはコンポーネント名を規則どおりにすることで解消しているので、動作には影響ないはずです。

Copy link
Contributor

@tomof tomof left a comment

Choose a reason for hiding this comment

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

LGTM!👍

@renovate renovate bot merged commit e41e10f into main Oct 17, 2023
5 checks passed
@renovate renovate bot deleted the renovate/eslint-and-prettier branch October 17, 2023 06:15
@yuw27b yuw27b mentioned this pull request Oct 17, 2023
1 task
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.

2 participants