Skip to content

feat: fix lint #255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 7, 2025
Merged

feat: fix lint #255

merged 8 commits into from
Feb 7, 2025

Conversation

acke
Copy link
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
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.

public void selectionChanged(IAction action, ISelection selection) {
this.selection = selection;
}
IWorkbenchPart part;
Copy link
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?

plugin/.ruleset Outdated
Copy link
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.

@acke acke merged commit 67e3473 into main Feb 7, 2025
7 checks passed
@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.

3 participants