npm-groovy-lint icon indicating copy to clipboard operation
npm-groovy-lint copied to clipboard

In case of grouped imports linter returns error NglParseError: unable to find class 'TestGroup.CAN'

Open ixytiris opened this issue 2 months ago • 1 comments

I notice that when i have more than 5 imports of the same package that are being grouped to one import like: import com.test.annotations.* linter throws a error : NglParseError : unable to find class 'TestGroup.CAN' for annotation attribute constant As a workaround i remove the group and import all the imports individually

ixytiris avatar Apr 20 '24 07:04 ixytiris

I see there is a NoWildcardImports Rule on CodeNarc -> https://codenarc.org/codenarc-rules-imports.html

But it should not make the parsing crash :/

So keep your workaround for now :/

nvuillam avatar Apr 28 '24 10:04 nvuillam