Skip to content

refactor: add newline indent test for anonymous fn #35

refactor: add newline indent test for anonymous fn

refactor: add newline indent test for anonymous fn #35

GitHub Actions / Qodana Community for JVM completed Sep 15, 2024 in 0s

17 new problems found by Qodana Community for JVM

Qodana Community for JVM

17 new problems were found

Inspection name Severity Problems
Unused symbol 🔶 Warning 6
Redundant nullable return type 🔶 Warning 3
Unused import directive 🔶 Warning 2
Redundant semicolon 🔶 Warning 2
Serializable object must implement 'readResolve' 🔶 Warning 1
Redundant SAM constructor 🔶 Warning 1
Replace empty class body ◽️ Notice 1
'if' condition can be replaced with lambda call ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 5 in src/main/kotlin/com/github/themartdev/intellijgleam/lang/GleamLanguage.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Serializable object must implement 'readResolve'

Serializable object must implement 'readResolve'

Check warning on line 6 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/formatter/GleamCodeStyleSettingsProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 3 in src/main/kotlin/com/github/themartdev/intellijgleam/lang/parser/GleamParserDefinition.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 60 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/formatter/GleamCodeStyleSettingsProvider.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant nullable return type

'getIndentOptionsEditor' always returns non-null type

Check warning on line 23 in src/main/kotlin/com/github/themartdev/intellijgleam/lang/psi/impl/GleamPsiImplUtil.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant nullable return type

'getNameOrAlias' always returns non-null type

Check warning on line 24 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/editor/GleamFoldingBuilder.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant nullable return type

'getPlaceholderText' always returns non-null type

Check warning on line 38 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/formatter/lsp/GleamAbstractLspFormattingServiceProxy.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant SAM constructor

Redundant SAM-constructor

Check warning on line 22 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/common/FsUtils.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant semicolon

Redundant semicolon

Check warning on line 14 in src/main/kotlin/com/github/themartdev/intellijgleam/lang/psi/impl/GleamPsiImplUtil.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Redundant semicolon

Redundant semicolon

Check notice on line 7 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/formatter/GleamCodeStyleSettings.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Replace empty class body

Redundant empty class body

Check notice on line 36 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/formatter/GleamFormatBlock.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

'if' condition can be replaced with lambda call

Replace with 'ifEmpty {...}'

Check warning on line 8 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/lsp/GleamLspSettings.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Property "project" is never used

Check warning on line 7 in src/main/kotlin/com/github/themartdev/intellijgleam/lang/psi/impl/GleamElementImpl.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Class "GleamElementImpl" is never used

Check warning on line 9 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/formatter/GleamSpacingProcessor.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Property "block" is never used

Check warning on line 12 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/formatter/GleamSpacingProcessor.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Property "spacingBuilder" is never used

Check warning on line 37 in src/main/kotlin/com/github/themartdev/intellijgleam/ide/highlighting/GleamColors.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Property "IMPORT" is never used

Check warning on line 42 in src/main/kotlin/com/github/themartdev/intellijgleam/lang/psi/GleamTokenType.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Property "GLEAM_BLOCKS" is never used