Skip to content

Conversation

@robyngit
Copy link
Member

@robyngit robyngit commented Apr 9, 2025

Fixed linting in the following files:

  • src/js/views/DataItemView.js
  • src/js/views/DataPackageView.js
  • src/js/views/DownloadButtonView.js
  • src/js/views/MetadataView.js
  • src/js/collections/DataPackage.js
  • src/js/models/PackageModel.js

PackageModel has a few linting errors left but the plan is to deprecate it so it's better just to leave them.

Changes also include:

  • Removing unused imports, variables, and methods
  • Simplifying conditional checks and default parameter handling
  • Adding missing JSDoc comments
  • Removing redundant checks in if statements

Closes #2483

robyngit added 4 commits April 9, 2025 10:55
Return the view from render rather than initialize to keep the view consistent with the rest of the codebase.

Issue #2483
- Left a few tricker ones since this model will be deprecated
- Removed unused methods: getMemberNames, getProvTrace, getMemberNames, getExternalProvTrace, sortProvTrace, setMemberProvTrace
- Added JS docs to make it clear that the intention is to deprecate this model

Issue #2483
@robyngit robyngit linked an issue Apr 9, 2025 that may be closed by this pull request
7 tasks
@rushirajnenuji rushirajnenuji merged commit ca7cccb into develop Jul 16, 2025
2 checks passed
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.

Fix eslint issues in the file hierarchy table code

3 participants