mirror of https://github.com/locustio/locust.git
Merge pull request #3175 from locustio/add-yarn-lint-precommit
Add yarn lint precommit
This commit is contained in:
commit
b33c64ec31
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue