aspect-build / aspect-build/rules_lint

[FR]: Pass --aux-classpath to PMD

Open
#419 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Starlark
Stars
154
Forks
125
Avg merge
3d 21h
Merged PRs (30d)
20

Description

### What is the current behavior?

Some lints are not caught correctly because the linter cannot resolve the correct type for all expressions.

### Describe the feature

Pass all the jar dependencies for each source file that is being linted through the --aux-classpath flag provided by PMD.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the PMD invocation and the data available for each linted source file, then trace how its jar dependencies could reach PMD's --aux-classpath option. Done means each source file is linted with its dependencies supplied so PMD can resolve types correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.