Skip to content
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

Linting the MATS apps #1117

Merged
merged 37 commits into from
Nov 16, 2023
Merged

Linting the MATS apps #1117

merged 37 commits into from
Nov 16, 2023

Conversation

mollybsmith-noaa
Copy link
Collaborator

This PR resolves the linter errors in all the apps except upper air (ran out of time for that one). It also reorganizes a lot of the server-side code so that the selector values are addressed in the same order in all of the apps, which makes the code easier to take care of in the future.

Copy link
Collaborator

@ian-noaa ian-noaa left a comment

Choose a reason for hiding this comment

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

Generally looks good! I had three comments about:

  • improving the format of those couchbase statements so that we didn't have to call .replace() on them multiple times.
  • removing a now-unneeded comment in the .eslintrc.json file.
  • finding a way to reduce the number of //eslint-diable-next-line no-undef comments since the code seems to need a lot of them.

Since a lot of this is duplicate work, those comments apply to each of the apps.

apps/anomalycor/.eslintrc.json Outdated Show resolved Hide resolved
apps/cb-metar/server/dataFunctions/data_map.js Outdated Show resolved Hide resolved
@mollybsmith-noaa
Copy link
Collaborator Author

I've addressed all your comments, so I'm going to merge this in the afternoon?

@ian-noaa
Copy link
Collaborator

Sounds good. Thanks!

@mollybsmith-noaa mollybsmith-noaa merged commit 3ede681 into development Nov 16, 2023
35 checks passed
@mollybsmith-noaa mollybsmith-noaa deleted the feature_lint_mats_apps branch November 16, 2023 21:52
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.

2 participants