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

cosmetic changes #175

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

cosmetic changes #175

wants to merge 13 commits into from

Conversation

dschach
Copy link

@dschach dschach commented Mar 20, 2025

  1. Prettier updates
  2. Clean workflow files
  3. Remove unnecessary node modules
  • Tests pass
  • Appropriate changes to README are included in PR

Copy link

google-cla bot commented Mar 20, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@dschach dschach marked this pull request as ready for review March 20, 2025 00:39
@dschach
Copy link
Author

dschach commented Mar 20, 2025

@mitchspano I know this is a lame PR, but my next one will involve an option to debug limits in an execution.

@mitchspano
Copy link
Owner

This is a very large PR. Can we break it down into smaller changes?

@dschach
Copy link
Author

dschach commented Mar 20, 2025

@mitchspano Done. This is now cosmetic plus an update to the workflow to use lts/* since that is the usual Salesforce project standard.

I can't tell if the documentation in docs is auto-generated; it seems not to be worth it to format that to markdown specs if it is. Can put that in a separate PR.

@mitchspano
Copy link
Owner

@mitchspano Done. This is now cosmetic plus an update to the workflow to use lts/* since that is the usual Salesforce project standard.

I can't tell if the documentation in docs is auto-generated; it seems not to be worth it to format that to markdown specs if it is. Can put that in a separate PR.

Docs are auto-generated. Those should be left alone.

@dschach dschach requested a review from mitchspano March 21, 2025 15:04
@@ -29,6 +30,7 @@ jobs:
sf plugins install @salesforce/sfdx-scanner

- name: Run SFDX Scanner - Report findings as comments
if: github.event_name == 'pull_request'
Copy link
Owner

Choose a reason for hiding this comment

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

Is this necessary? The triggering event is always pull_request

node-version: ">=14"
check-latest: true
node-version: "lts/*"
#cache: "npm"
Copy link
Owner

Choose a reason for hiding this comment

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

Is this comment intentional? Please remove or uncomment.

},
{
"files": "*.trigger",
"options": { "printWidth": 200 }
Copy link
Owner

Choose a reason for hiding this comment

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

Why is this different than the other print width specification

Copy link
Author

Choose a reason for hiding this comment

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

When the width is less than 200, all the trigger contexts listed go one above each other on separate lines, making it unnecessarily harder (at least for me) to understand. However, since there are no triggers in this project, I can remove it.

@@ -1,15 +1,81 @@
{
Copy link
Owner

Choose a reason for hiding this comment

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

What is the source of all of this customization in this file?

The standard config is available here. I see advantage in specifying apexInsertFinalNewline : false, but the rest of the stuff seems to be the project-specific configuration from another team's project.

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