No public way to list the names of the lints, so a caller cannot tell a typo from a real name
Maintainers usually reply within 1 day
@yegor256 is already working on this.
Since Nov 6, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
Start in the org.eolang.lints package: read MonoLintNames.java and Source.java to see the package-private types. Choose one suggested API (e.g. a public LintNames iterable or Source.names()) and change visibility or add a method. Done means an outside caller can list lint names and eo can reject unknown ones.
Written by the indexing model from the issue text.
Description
Source.without(String...) takes names and silently drops the ones that match nothing. A caller that lets a user name lints cannot check what it was given, because the catalogue of names is not reachable from outside the package.
In lints 0.5.0 the only public types are Defect, Fix, FxByXsl, FxEmpty, FxResource, Lint, Severity and Source. Lint.name() is public, but every way of getting the lints is not: PkMono, MonoLints and MonoLintNames are all package-private, and Source(XML, Iterable<Lint>) is too.
$ javap -cp lints-0.5.0.jar org.eolang.lints.MonoLintNames
final class org.eolang.lints.MonoLintNames extends org.cactoos.iterable.IterableEnvelope<java.lang.String> {
org.eolang.lints.MonoLintNames();
}
Where it bites: eo-maven-plugin passes skipSourceLints from pom.xml straight to Source.without(...), so a typo in a pom.xml keeps the lint enabled and nothing says why (objectionary/eo#9332):
[INFO] Unlinting source lints: ["unit-test-misssing"]
[WARN] [LINT] foo.x.main:0 Tests not found for "main" (unit-test-missing/S)
The log claims the lint is unlinted and then reports it. Inside a source the same mistake is caught, because incorrect-unlint knows the names; a caller outside the package has no equivalent.
What would be enough: a public way to read the names, such as a public LintNames iterable of String, or Source.names(). Then eo could refuse an unknown name where it is configured, instead of ignoring it.
I have not sent a pull request, since which shape you want is your call.
- Dominant language
- Java
- Stars
- 14
- Forks
- 40
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 67
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from objectionary/lints
-
LtByXsl throws NoSuchElementException when defect element has no text contentPossibly taken @opusstudiohq-max claimed this 3 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
objectionary/lints#1640 · 1 comment ·
Maintainers usually reply within 1 day
-
Incorrect alphabetical ordering of `+alias` metas due to short name sorting by parserPossibly taken @opusstudiohq-max claimed this 13 days ago. Openbug good-title
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
objectionary/lints#1581 · 1 comment ·
Maintainers usually reply within 1 day
-
`unit-test-is-not-verb` incorrectly rejects valid verb test names in `Vocabulary.isVerb`Possibly taken @Thayorns claimed this 25 days ago. Openbug good-title
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/lints#1533 · 1 comment ·
Maintainers usually reply within 1 day
-
OpenAI key exposed to third-party action during the titles workflow of issue openingMay be free again @yegor256 claimed this 38 days ago, and no pull request is open. Openenhancement good-title
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
objectionary/lints#1495 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
CI workflows not pinned to immutable release tags or commit SHAs causing irreproducible CI failuresPossibly taken @gemshrine claimed this 37 days ago. Openenhancement good-title
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
objectionary/lints#1480 · 1 comment ·
Maintainers usually reply within 1 day
All issues in objectionary/lints
Similar issues
-
bug key bindings source editor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Visual COBOL: missing 11.0 and 12.0, and 9.0 date differs from Rocket Software's lifecycle pageOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
endoflife-date/endoflife.date#11561 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
conductor-oss/conductor#1824 ·
Maintainers usually reply within 5 days
-
Type: Possible bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
AntennaPod/AntennaPod#8887 · 1 comment ·
Maintainers usually reply within 1 day