- Notifications
You must be signed in to change notification settings - Fork1.1k
chore: replace eslint with biome#14263
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Changes fromall commits
e7feeb585d8d054b1c032e8d7aca27b85cc2b19afc053cb483d507ddd27cfc45c0292bbb3d0848fa30117fdb0123ffca8168a1b1055337e5e272831612b6b252ada5b8b60eee774f258968d413fe8f85dd6dd39f78332c5075c3beFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Diff view
Diff view
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -391,7 +391,7 @@ BOLD := $(shell tput bold 2>/dev/null) | ||
| GREEN := $(shell tput setaf 2 2>/dev/null) | ||
| RESET := $(shell tput sgr0 2>/dev/null) | ||
| fmt: fmt/ts fmt/go fmt/terraform fmt/shfmt fmt/prettier | ||
| .PHONY: fmt | ||
| fmt/go: | ||
| @@ -401,15 +401,19 @@ fmt/go: | ||
| go run mvdan.cc/gofumpt@v0.4.0 -w -l . | ||
| .PHONY: fmt/go | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I used to do MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Actually, we still need prettier for basically everything it was doing before outside of site/, so I'll just put that job back. | ||
| fmt/ts: | ||
| echo "$(GREEN)==>$(RESET) $(BOLD)fmt/ts$(RESET)" | ||
| cd site | ||
| # Avoid writing files in CI to reduce file write activity | ||
| ifdef CI | ||
| pnpm run check --linter-enabled=false | ||
| else | ||
| pnpm run check:fix | ||
| endif | ||
| .PHONY: fmt/ts | ||
| fmt/prettier: .prettierignore | ||
| echo "$(GREEN)==>$(RESET) $(BOLD)fmt/prettier$(RESET)" | ||
| # Avoid writing files in CI to reduce file write activity | ||
| ifdef CI | ||
| pnpm run format:check | ||
| @@ -442,7 +446,7 @@ lint/site-icons: | ||
| lint/ts: | ||
| cd site | ||
| pnpm lint | ||
| .PHONY: lint/ts | ||
| lint/go: | ||
| @@ -495,9 +499,6 @@ gen: \ | ||
| .prettierignore.include \ | ||
| .prettierignore \ | ||
| provisioner/terraform/testdata/version \ | ||
| site/e2e/provisionerGenerated.ts \ | ||
| site/src/theme/icons.json \ | ||
| examples/examples.gen.json \ | ||
| @@ -526,9 +527,6 @@ gen/mark-fresh: | ||
| coderd/apidoc/swagger.json \ | ||
| .prettierignore.include \ | ||
| .prettierignore \ | ||
| site/e2e/provisionerGenerated.ts \ | ||
| site/src/theme/icons.json \ | ||
| examples/examples.gen.json \ | ||
| @@ -603,7 +601,6 @@ provisionerd/proto/provisionerd.pb.go: provisionerd/proto/provisionerd.proto | ||
| site/src/api/typesGenerated.ts: $(wildcard scripts/apitypings/*) $(shell find ./codersdk $(FIND_EXCLUSIONS) -type f -name '*.go') | ||
| go run ./scripts/apitypings/ > $@ | ||
| ./scripts/pnpm_install.sh | ||
| site/e2e/provisionerGenerated.ts: provisionerd/proto/provisionerd.pb.go provisionersdk/proto/provisioner.pb.go | ||
| cd site | ||
| @@ -613,7 +610,7 @@ site/e2e/provisionerGenerated.ts: provisionerd/proto/provisionerd.pb.go provisio | ||
| site/src/theme/icons.json: $(wildcard scripts/gensite/*) $(wildcard site/static/icon/*) | ||
| go run ./scripts/gensite/ -icons "$@" | ||
| ./scripts/pnpm_install.sh | ||
| pnpm-C site/execbiome format--writesrc/theme/icons.json | ||
| examples/examples.gen.json: scripts/examplegen/main.go examples/examples.go $(shell find ./examples/templates) | ||
| go run ./scripts/examplegen/main.go > examples/examples.gen.json | ||
| @@ -702,23 +699,6 @@ scripts/ci-report/testdata/.gen-golden: $(wildcard scripts/ci-report/testdata/*) | ||
| go test ./scripts/ci-report -run=TestOutputMatchesGoldenFile -update | ||
| touch "$@" | ||
| # Combine .gitignore with .prettierignore.include to generate .prettierignore. | ||
| .prettierignore: .gitignore .prettierignore.include | ||
| echo "# Code generated by Makefile ($^). DO NOT EDIT." > "$@" | ||
| @@ -728,40 +708,6 @@ site/.prettierrc.yaml: .prettierrc.yaml | ||
| cat "$$f" >> "$@" | ||
| done | ||
| test: | ||
| $(GIT_FLAGS) gotestsum --format standard-quiet -- -v -short -count=1 ./... | ||
| .PHONY: test | ||
Uh oh!
There was an error while loading.Please reload this page.