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

Feat: global configuration & plugin support #178

Merged
merged 7 commits into from
Feb 25, 2024
Merged

Feat: global configuration & plugin support #178

merged 7 commits into from
Feb 25, 2024

Conversation

SylarLong
Copy link
Owner

@SylarLong SylarLong self-assigned this Feb 25, 2024
*
* @param {Config} param0 自定义配置
*/
export const config = ({ mutagens, brightness }: Config) => {
Copy link

Choose a reason for hiding this comment

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

Function config has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.

Copy link

socket-security bot commented Feb 25, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None +1 1.37 MB sylarlong

🚮 Removed packages: npm/[email protected]

View full report↗︎

@codecov-commenter
Copy link

codecov-commenter commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.78%. Comparing base (8034c2d) to head (2f7bfda).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #178      +/-   ##
==========================================
+ Coverage   97.73%   97.78%   +0.05%     
==========================================
  Files          79       79              
  Lines        1322     1356      +34     
  Branches      212      221       +9     
==========================================
+ Hits         1292     1326      +34     
  Misses         26       26              
  Partials        4        4              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2f7bfda
Status: ✅  Deploy successful!
Preview URL: https://b16989f5.iztro-docs-c3x.pages.dev
Branch Preview URL: https://feat-165.iztro-docs-c3x.pages.dev

View logs

Copy link

codeclimate bot commented Feb 25, 2024

Code Climate has analyzed commit 2f7bfda and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

@SylarLong SylarLong merged commit faddc2e into main Feb 25, 2024
8 checks passed
@SylarLong SylarLong deleted the feat-165 branch February 25, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants