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

Add lint rules #202

Merged
merged 5 commits into from
Mar 14, 2024
Merged

Add lint rules #202

merged 5 commits into from
Mar 14, 2024

Conversation

tkmcmaster
Copy link
Collaborator

@tkmcmaster tkmcmaster commented Mar 14, 2024

The only "code" changes are in the guide results-viewer so there are no integration testing needed. I manually tested the UI to confirm it is still working. The controller, common, and agent changes are spacing only so no tests other than unittests needed.

@tkmcmaster tkmcmaster self-assigned this Mar 14, 2024
@tkmcmaster tkmcmaster requested a review from a team March 14, 2024 17:00
@tkmcmaster tkmcmaster marked this pull request as ready for review March 14, 2024 17:01
Copy link
Contributor

@summersjc summersjc left a comment

Choose a reason for hiding this comment

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

Can you make more changes within a single PR?

@tkmcmaster
Copy link
Collaborator Author

Can you make more changes within a single PR?

I guess I could've split this into the ppaas code vs the guide code. It still would've been the same files just split into two, but it was mostly changing the .eslintrc file then running npm run lint to actually change the files.

@tkmcmaster tkmcmaster merged commit 898b234 into master Mar 14, 2024
4 checks passed
@tkmcmaster tkmcmaster deleted the addLintRules branch March 14, 2024 18:20
tkmcmaster added a commit that referenced this pull request Mar 14, 2024
* Bump mio from 0.8.10 to 0.8.11 (#200)

Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/mio@v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add lint rules (#202)

* Fixed duplicate build:agent in build command

* Added additional lint spacing rules

* Fixed common, agent, and controller code for the new lint rules

* Added spacing and no-shadow lint rules to the guide results viewer

* Fixed lint issues in the guide

- Fixed no-shadow issues to match the version from the controller

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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