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

Introduce lint plugin #133

Merged
merged 31 commits into from
Mar 20, 2024
Merged

Introduce lint plugin #133

merged 31 commits into from
Mar 20, 2024

Conversation

tommy351
Copy link
Owner

No description provided.

- File paths such as `foo/bar.ts` were written to `bar.js` previously, now they are written to `foo/bar.js` instead.
- Strip `src/` from entry paths.
- Update SWC target to es2022 because the minimum supported Node.js version is 18.
@tommy351 tommy351 self-assigned this Mar 19, 2024
Copy link

codecov bot commented Mar 19, 2024

Codecov Report

Attention: Patch coverage is 99.39714% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 96.94%. Comparing base (7c2e54e) to head (de88bde).

Files Patch % Lines
packages/require/src/extensions.ts 33.33% 2 Missing ⚠️
packages/cli/src/commands/generate/command.ts 50.00% 0 Missing and 1 partial ⚠️
packages/cli/src/commands/generate/env.ts 83.33% 1 Missing ⚠️
packages/cli/src/commands/migrate.ts 66.66% 0 Missing and 1 partial ⚠️
packages/generate/src/generate.ts 94.73% 1 Missing ⚠️
packages/require/src/resolve.ts 96.55% 1 Missing ⚠️
plugins/lint/src/config.ts 97.77% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
+ Coverage   94.57%   96.94%   +2.37%     
==========================================
  Files          74      118      +44     
  Lines        1676     2752    +1076     
  Branches      398      711     +313     
==========================================
+ Hits         1585     2668    +1083     
+ Misses         90       76      -14     
- Partials        1        8       +7     

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

Copy link

cloudflare-workers-and-pages bot commented Mar 20, 2024

Deploying kosko with  Cloudflare Pages  Cloudflare Pages

Latest commit: de88bde
Status: ✅  Deploy successful!
Preview URL: https://db65e7f5.kosko.pages.dev
Branch Preview URL: https://lint-plugin.kosko.pages.dev

View logs

@tommy351 tommy351 merged commit ed54487 into master Mar 20, 2024
20 checks passed
@tommy351 tommy351 deleted the lint-plugin branch March 20, 2024 11:56
@github-actions github-actions bot mentioned this pull request Mar 20, 2024
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.

1 participant