Skip to content

feat: fix lint#255

Merged
acke merged 8 commits intomainfrom
feat/fix-lint
Feb 7, 2025
Merged

feat: fix lint#255
acke merged 8 commits intomainfrom
feat/fix-lint

Conversation

@acke
Copy link
Copy Markdown
Contributor

@acke acke commented Jan 30, 2025

Description

This PR solves a number of lint errors.

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@acke acke changed the title Feat/fix lint feat/fix lint Jan 30, 2025
@acke acke changed the title feat/fix lint feat: fix lint Jan 30, 2025
@acke acke marked this pull request as ready for review February 4, 2025 16:54
@acke acke requested a review from a team as a code owner February 4, 2025 16:54
Copy link
Copy Markdown
Contributor

@andrewrobinsonhodges-snyk andrewrobinsonhodges-snyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy with this overall, though there are a few inconsistencies and further optimisations - see the comments.

The only thing that needs addressing before merge is your local path in the ruleset file (plugin/.pmd) - the rest are up to you.

Comment thread plugin/.pmd Outdated
public void selectionChanged(IAction action, ISelection selection) {
this.selection = selection;
}
IWorkbenchPart part;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent indentation compared to the file above. Which is correct?

Comment thread plugin/src/main/java/io/snyk/languageserver/LsConfigurationUpdater.java Outdated
Comment thread plugin/src/main/java/io/snyk/languageserver/SnykIssueCache.java
Comment thread plugin/.ruleset
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be able to automatically generate it from our "master" XML file in the root. But that's something for a different PR.

Comment thread plugin/src/main/java/io/snyk/eclipse/plugin/properties/FolderConfigs.java Outdated
Comment thread plugin/src/main/java/io/snyk/eclipse/plugin/views/snyktoolview/IssueTreeNode.java Outdated
Comment thread plugin/src/main/java/io/snyk/eclipse/plugin/wizards/SnykWizard.java
@acke acke merged commit 67e3473 into main Feb 7, 2025
@acke acke deleted the feat/fix-lint branch February 7, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants