Added devp linter

This commit is contained in:
a.pivkin
2025-12-23 06:40:56 +03:00
parent ab3a912c5a
commit 20a59dceae
52 changed files with 1341 additions and 30 deletions
@@ -0,0 +1,24 @@
include scripts/devp/platform.mk
.PHONY: generate
generate: devp/generate-go
.PHONY: test
test: devp/test-go
.PHONY: lint
lint: devp/lint-go-default
.PHONY: format
format: devp/format-go
.PHONY: go-mod-tidy
go-mod-tidy: devp/go-mod-tidy
.PHONY: ci/check
ci/check: devp/ci/check
@# This target is called during Big Bang 'Validate' CI job
.PHONY: ci/test/unit
ci/test/unit: devp/coverage
@# This target is called during Big Bang 'Test' CI job
@@ -0,0 +1,12 @@
version: 3
cloud:
service: "my-service"
my-cloud-component:
type: "cloud"
stands:
- "dev"
build:
template: "golang"
config:
builder-version: 0.75.0
uses: []
@@ -0,0 +1,23 @@
# IntelliJ IDEA
.idea
*.iml
*.ipr
*.iws
# macOS
.DS_Store
# Golang
*.prof
*.exe
*.test
*.report
*.out
/bin/
/tmp/
/.build/
/vendor/
# test results
coverage.txt
coverage.xml
@@ -0,0 +1,44 @@
# IntelliJ IDEA
.idea/
*.iml
*.ipr
*.iws
dist/
# VSCode
.vscode/
# zed
.zed/
# macOS
.DS_Store
# Golang
*.prof
*.exe
*.test
*.report
*.out
/bin/
/tmp/
/.build/
/.devp/
/vendor/
go.work
go.work.sum
# test results
coverage.txt
coverage.xml
# Platform
scripts/golangci-merged.yml
graph.svg
devp_lint_report.json
.public
/dist/
# Other
*.tmp