mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Yarn run commands in local JS environment (#2118)
Ensures that the JS environment specified in the repo is used when running the tools.
This commit is contained in:
parent
adf87140a7
commit
75c79efd3b
6
Makefile
6
Makefile
@ -113,13 +113,13 @@ fleetctl: .prefix .pre-build .pre-fleetctl
|
||||
go build -i -o build/fleetctl -ldflags ${KIT_VERSION} ./cmd/fleetctl
|
||||
|
||||
lint-js:
|
||||
eslint frontend --ext .js,.jsx
|
||||
yarn run eslint frontend --ext .js,.jsx
|
||||
|
||||
lint-ts:
|
||||
tslint frontend/**/*.tsx frontend/**/*.ts
|
||||
yarn run tslint frontend/**/*.tsx frontend/**/*.ts
|
||||
|
||||
lint-scss:
|
||||
sass-lint --verbose
|
||||
yarn run sass-lint --verbose
|
||||
|
||||
lint-go:
|
||||
go vet ./...
|
||||
|
Loading…
Reference in New Issue
Block a user