Skip to content

chore(lint): Linting and error handling fixes

Codecov / codecov/patch succeeded Oct 22, 2024 in 1s

57.48% of diff hit (target 42.84%)

View this Pull Request on Codecov

57.48% of diff hit (target 42.84%)

Annotations

Check warning on line 2 in packages/openneuro-app/src/scripts/app.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/app.tsx#L2

Added line #L2 was not covered by tests

Check warning on line 6 in packages/openneuro-app/src/scripts/app.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/app.tsx#L5-L6

Added lines #L5 - L6 were not covered by tests

Check warning on line 2 in packages/openneuro-app/src/scripts/common/containers/footer.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/common/containers/footer.tsx#L2

Added line #L2 was not covered by tests

Check warning on line 61 in packages/openneuro-app/src/scripts/datalad/mutations/update-permissions.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/datalad/mutations/update-permissions.jsx#L61

Added line #L61 was not covered by tests

Check warning on line 65 in packages/openneuro-app/src/scripts/datalad/routes/dataset-redirect.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/datalad/routes/dataset-redirect.tsx#L65

Added line #L65 was not covered by tests

Check warning on line 17 in packages/openneuro-app/src/scripts/dataset/comments/comments.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/comments/comments.jsx#L17

Added line #L17 was not covered by tests

Check warning on line 5 in packages/openneuro-app/src/scripts/dataset/dataset-query.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/dataset-query.jsx#L5

Added line #L5 was not covered by tests

Check warning on line 86 in packages/openneuro-app/src/scripts/dataset/download/download-datalad.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/download/download-datalad.jsx#L86

Added line #L86 was not covered by tests

Check warning on line 58 in packages/openneuro-app/src/scripts/dataset/download/download-native.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/download/download-native.js#L58

Added line #L58 was not covered by tests

Check warning on line 42 in packages/openneuro-app/src/scripts/dataset/download/download-s3.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/download/download-s3.jsx#L42

Added line #L42 was not covered by tests

Check warning on line 2 in packages/openneuro-app/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx#L2

Added line #L2 was not covered by tests

Check warning on line 2 in packages/openneuro-app/src/scripts/dataset/mutations/delete-anonymous-reviewer.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/mutations/delete-anonymous-reviewer.tsx#L2

Added line #L2 was not covered by tests

Check warning on line 57 in packages/openneuro-app/src/scripts/dataset/mutations/import-dataset.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/mutations/import-dataset.tsx#L57

Added line #L57 was not covered by tests

Check warning on line 77 in packages/openneuro-app/src/scripts/dataset/mutations/update-permissions.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/mutations/update-permissions.tsx#L77

Added line #L77 was not covered by tests

Check warning on line 43 in packages/openneuro-app/src/scripts/dataset/routes/derivatives.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/routes/derivatives.tsx#L43

Added line #L43 was not covered by tests

Check warning on line 2 in packages/openneuro-app/src/scripts/dataset/routes/manage-anonymous-reviewers.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/dataset/routes/manage-anonymous-reviewers.tsx#L2

Added line #L2 was not covered by tests

Check warning on line 2 in packages/openneuro-app/src/scripts/errors/403page.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/errors/403page.tsx#L2

Added line #L2 was not covered by tests

Check warning on line 2 in packages/openneuro-app/src/scripts/errors/404page.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/errors/404page.tsx#L2

Added line #L2 was not covered by tests

Check warning on line 2 in packages/openneuro-app/src/scripts/pages/admin/flagged-files.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/pages/admin/flagged-files.jsx#L2

Added line #L2 was not covered by tests

Check warning on line 51 in packages/openneuro-app/src/scripts/pages/admin/flagged-files.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/pages/admin/flagged-files.jsx#L35-L51

Added lines #L35 - L51 were not covered by tests

Check warning on line 113 in packages/openneuro-app/src/scripts/search/search-container.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/search/search-container.tsx#L113

Added line #L113 was not covered by tests

Check warning on line 60 in packages/openneuro-app/src/scripts/search/search-params-ctx.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/search/search-params-ctx.tsx#L60

Added line #L60 was not covered by tests

Check warning on line 3 in packages/openneuro-app/src/scripts/search/search-routes.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/search/search-routes.tsx#L2-L3

Added lines #L2 - L3 were not covered by tests

Check warning on line 93 in packages/openneuro-app/src/scripts/uploader/upload-issues.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/uploader/upload-issues.jsx#L93

Added line #L93 was not covered by tests

Check warning on line 165 in packages/openneuro-app/src/scripts/uploader/uploader.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openneuro-app/src/scripts/uploader/uploader.jsx#L165

Added line #L165 was not covered by tests