mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
68.63k stars 6.05k forks source link

Update eslint to v9 #5603

Open sidharthv96 opened 2 days ago

sidharthv96 commented 2 days ago

:bookmark_tabs: Summary

Move to flat config to support v9

:straight_ruler: Design Decisions

Describe the way your implementation works or what design decisions you made if applicable.

:clipboard: Tasks

Make sure you

netlify[bot] commented 2 days ago

Deploy Preview for mermaid-js ready!

Name Link
Latest commit f3a65f3178c6aa83696f0c34733b4d5b5d93a693
Latest deploy log https://app.netlify.com/sites/mermaid-js/deploys/66812efe194ca400080622ae
Deploy Preview https://deploy-preview-5603--mermaid-js.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.

argos-ci[bot] commented 2 days ago

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Jun 30, 2024, 10:20 AM
codecov[bot] commented 2 days ago

Codecov Report

Attention: Patch coverage is 2.77778% with 315 lines in your changes missing coverage. Please review.

Project coverage is 5.86%. Comparing base (14a2317) to head (f3a65f3).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603/graphs/tree.svg?width=650&height=150&src=pr&token=BaET4V1BdM&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js)](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js) ```diff @@ Coverage Diff @@ ## develop #5603 +/- ## ========================================== + Coverage 5.74% 5.86% +0.12% ========================================== Files 280 273 -7 Lines 41937 41074 -863 Branches 492 512 +20 ========================================== Hits 2408 2408 + Misses 39529 38666 -863 ``` | [Flag](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js) | Coverage Δ | | |---|---|---| | [unit](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js) | `5.86% <2.77%> (+0.12%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js) | Coverage Δ | | |---|---|---| | [...ages/mermaid-flowchart-elk/src/flowRenderer-elk.js](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=packages%2Fmermaid-flowchart-elk%2Fsrc%2FflowRenderer-elk.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-cGFja2FnZXMvbWVybWFpZC1mbG93Y2hhcnQtZWxrL3NyYy9mbG93UmVuZGVyZXItZWxrLmpz) | `0.00% <ø> (ø)` | | | [...ages/mermaid/src/dagre-wrapper/blockArrowHelper.ts](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=packages%2Fmermaid%2Fsrc%2Fdagre-wrapper%2FblockArrowHelper.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-cGFja2FnZXMvbWVybWFpZC9zcmMvZGFncmUtd3JhcHBlci9ibG9ja0Fycm93SGVscGVyLnRz) | `0.00% <ø> (ø)` | | | [packages/mermaid/src/defaultConfig.ts](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=packages%2Fmermaid%2Fsrc%2FdefaultConfig.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-cGFja2FnZXMvbWVybWFpZC9zcmMvZGVmYXVsdENvbmZpZy50cw==) | `46.37% <100.00%> (+0.72%)` | :arrow_up: | | [packages/mermaid/src/diagram-api/diagramAPI.ts](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=packages%2Fmermaid%2Fsrc%2Fdiagram-api%2FdiagramAPI.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-cGFja2FnZXMvbWVybWFpZC9zcmMvZGlhZ3JhbS1hcGkvZGlhZ3JhbUFQSS50cw==) | `57.83% <100.00%> (-1.00%)` | :arrow_down: | | [packages/mermaid/src/diagrams/packet/renderer.ts](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=packages%2Fmermaid%2Fsrc%2Fdiagrams%2Fpacket%2Frenderer.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-cGFja2FnZXMvbWVybWFpZC9zcmMvZGlhZ3JhbXMvcGFja2V0L3JlbmRlcmVyLnRz) | `0.00% <ø> (ø)` | | | [packages/mermaid/src/tests/MockedD3.ts](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=packages%2Fmermaid%2Fsrc%2Ftests%2FMockedD3.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-cGFja2FnZXMvbWVybWFpZC9zcmMvdGVzdHMvTW9ja2VkRDMudHM=) | `80.27% <100.00%> (ø)` | | | [packages/mermaid/src/themes/theme-base.js](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=packages%2Fmermaid%2Fsrc%2Fthemes%2Ftheme-base.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-cGFja2FnZXMvbWVybWFpZC9zcmMvdGhlbWVzL3RoZW1lLWJhc2UuanM=) | `3.81% <100.00%> (ø)` | | | [...kages/parser/src/language/common/valueConverter.ts](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=packages%2Fparser%2Fsrc%2Flanguage%2Fcommon%2FvalueConverter.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-cGFja2FnZXMvcGFyc2VyL3NyYy9sYW5ndWFnZS9jb21tb24vdmFsdWVDb252ZXJ0ZXIudHM=) | `0.00% <ø> (ø)` | | | [.esbuild/jisonPlugin.ts](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=.esbuild%2FjisonPlugin.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-LmVzYnVpbGQvamlzb25QbHVnaW4udHM=) | `0.00% <0.00%> (ø)` | | | [.esbuild/util.ts](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree&filepath=.esbuild%2Futil.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js#diff-LmVzYnVpbGQvdXRpbC50cw==) | `0.00% <0.00%> (ø)` | | | ... and [69 more](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/mermaid-js/mermaid/pull/5603/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mermaid-js)