Merge pull request #3175 from locustio/add-yarn-lint-precommit

Add yarn lint precommit
This commit is contained in:
Andrew Baldwin 2025-07-18 14:20:56 +02:00 committed by GitHub
commit b33c64ec31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View File

@ -8,3 +8,12 @@ repos:
args: [--fix]
# Run the formatter.
- id: ruff-format
- repo: local
hooks:
- id: yarn-lint
name: yarn lint
files: ^locust/webui/
types_or: [javascript, jsx, ts, tsx]
entry: cd locust/webui && yarn lint
language: system
pass_filenames: false

View File

@ -36,8 +36,8 @@ export default function LocustCloudTab() {
sx={{ color: isDarkMode ? '#fff' : grey[700], textAlign: 'center' }}
variant='h6'
>
Load testing is hard. Let us take care of the heavy lifting. With Locust Cloud you'll be
ready to run distributed load tests in minutes.
Let us take care of the heavy lifting. With Locust Cloud you'll be ready to run
distributed load tests in minutes.
</Typography>
<Box sx={{ display: 'flex', columnGap: 1 }}>
<Button