Skip to content

Comments

add run linter step before build with vite#56

Merged
rugeli merged 1 commit intomainfrom
feature/lint
Aug 7, 2025
Merged

add run linter step before build with vite#56
rugeli merged 1 commit intomainfrom
feature/lint

Conversation

@rugeli
Copy link
Contributor

@rugeli rugeli commented Aug 4, 2025

Problem

What is the problem this work solves, including
closes #53

Solution

What I/we did to solve this problem
This turns out to be a simple change! The lint script is already exist in package.json, and the workflow pr-preview.yml already handles build and deploy. I just added a step to run linter before the build, and it works!

we're using ESLint flat config in eslint.config.js, so we can customize the rules as needed.

Screenshot 2025-08-04 at 3 32 11 PM

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

@github-actions
Copy link

github-actions bot commented Aug 4, 2025

PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-08-07 17:20 UTC

@rugeli rugeli requested a review from ascibisz August 4, 2025 22:32
@rugeli rugeli merged commit cc907cc into main Aug 7, 2025
1 check passed
@rugeli rugeli deleted the feature/lint branch August 7, 2025 17:20
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.

Add lint test

2 participants