Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Is this project in a working state? #31

Open
EArbeitman opened this issue Feb 23, 2023 · 4 comments
Open

Is this project in a working state? #31

EArbeitman opened this issue Feb 23, 2023 · 4 comments

Comments

@EArbeitman
Copy link

No description provided.

@ash2k
Copy link
Owner

ash2k commented Feb 23, 2023

I use it, so I think it is.

@EArbeitman
Copy link
Author

Hey @ash2k thanks for chiming in. I ask mostly because the most recent release was from 2021.

Do you have any links or example usages you could share?

@EArbeitman
Copy link
Author

Maybe you can help me address this error:

WARN [runner] Can't run linter goanalysis_metalinter: inspect: failed to load package app: could not load export data: no export data for "compass.com/app"
ERRO Running error: inspect: failed to load package app: could not load export data: no export data for "compass.com/app"

Here's my configuration:

BUILD

load("@com_github_ash2k_bazel_tools//golangcilint:def.bzl", "golangcilint")

golangcilint(
    name = "golangcilint",
    config = "//src/go:lint-config",
    paths = [
        "src/go/compass.com/app/...",
    ],
    prefix = "compass.com",
)

WORKSPACE

git_repository(
    name = "com_github_ash2k_bazel_tools",
    commit = "aefb11464b6b83590e4154a98c29171092ca290f",
    remote = "https://github.com/ash2k/bazel-tools",
    shallow_since = "1644872739 +1100",
)

load("@com_github_ash2k_bazel_tools//golangcilint:deps.bzl", "golangcilint_dependencies")

golangcilint_dependencies()



@ash2k
Copy link
Owner

ash2k commented Mar 2, 2023

The only rules from this project I personally use are multirun and bulldozer. All the linters don't work well with bazel.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants