objectionary / objectionary/lints
`@` attribute is not at the highest level
Open
Nobody has claimed this yet.
enhancement
help wanted
- Dominant language
- Java
- Stars
- 14
- Forks
- 39
- Avg merge
- 22h 54m
- Merged PRs (30d)
- 90
Description
Consider this code:
[] > foo
hello > x
bar > @
It compiles, but it's very confusing. It's better to rewrite it like this:
[] > foo
bar > @
hello > x
@
Let's try to create a lint for this.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
No file, test, or entry point is named in the issue. Start by locating the existing Java lint implementations and tests, then use the two XMIR examples as behavioral fixtures; done means the confusing @ placement is reported while the rewritten form is accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100