Skip to content

Commit

Permalink
Fix natural language linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
keharper committed Aug 20, 2024
1 parent f6ebb85 commit 52f85f6
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ threatening, offensive, or harmful.

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
representing a project or community include using an official project email
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
reported by contacting the project team at `[email protected]`. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ The website in the public directory was generated for the Adobe Commerce with B2
npx apollo-cli download-schema $ENDPOINT_URL --output schema.json
```

where `$ENDPOINT_URL` is a placeholder for a URL's endpoint.
where `$ENDPOINT_URL` is a placeholder for the endpoint of a URL.

For more information about SpectaQL, refer to <https://github.com/anvilco/spectaql>.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Attribute | Data Type | Description
`location` | PaymentLocation! | The origin location for that payment request. The possible values are
PRODUCT_DETAIL, MINICART, CART, CHECKOUT, ADMIN
`methodCode` | String! | The code for the selected payment method
`paymentSource` | String! | The payment source for the payment method. The possible values are credit card (cc), PayPal (paypal), and Apple Pay (applepay)
`paymentSource` | String! | The payment source for the payment method. The possible values are credit card (`cc`), PayPal (`paypal`), and Apple Pay (`applepay`)
`vaultIntent` | Boolean | Indicates whether the payment information should be vaulted. This attribute is only applicable to the `hosted_fields` payment method. The default value is `false`

## Output attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ Attribute | Data Type | Description
`sort_order` | String | The relative order the payment method is displayed on the checkout page.
`title` | String! | The display name of the payment method.

The possible values for `payment_source` are credit card (cc), PayPal (paypal), Google Pay (googlepay), and Apple Pay (applepay) depending on the payment method.
The possible values for `payment_source` are credit card (`cc`), PayPal (`paypal`), Google Pay (`googlepay`), and Apple Pay (`applepay`), depending on the payment method.

The `GooglePayConfig` payment method configuration also has a `button_styles` object containing the following attributes:

Expand Down
2 changes: 1 addition & 1 deletion src/pages/graphql/schema/products/queries/url-resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The [`urlResolver`](https://developer.adobe.com/commerce/webapi/graphql-api/inde

## Example usage

### Query the URL's information
### Query information about the URL

The following query returns information about the URL containing `joust-duffle-bag.html`.

Expand Down
2 changes: 1 addition & 1 deletion src/pages/graphql/schema/store/queries/country.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The [`country`](https://developer.adobe.com/commerce/webapi/graphql-api/index.ht

## Example usage

The following query uses a two-letter abbreviation for the country ID (id: "AU"), which returns information about Australia.
The following query uses a two-letter abbreviation for the country ID (`id: "AU"`), which returns information about Australia.

**Request:**

Expand Down
4 changes: 2 additions & 2 deletions src/pages/graphql/tutorials/checkout/create-cart.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The customer created in the previous step does not have an active cart. The foll
```

In the subsequent tutorial steps, the unique shopping cart identifier `pXVxnNg4PFcK1lD60O5evqF7f4SkiRR1` will be listed as `{ CART_ID }`.
Copy the value of the id attribute. Use this value in subsequent steps wherever the { CART_ID } variable is specified.
Copy the value of the `id` attribute. Use this value in subsequent steps wherever the { CART_ID } variable is specified.

## Create a guest cart

Expand Down Expand Up @@ -76,7 +76,7 @@ mutation {
```

In the subsequent tutorial steps, the unique shopping cart identifier `A7jCcOmUjjCh7MxDIzu1SeqdqETqEa5h` will be listed as `{ CART_ID }`.
Copy the value of the id attribute. Use this value in subsequent steps wherever the { CART_ID } variable is specified.
Copy the value of the `id` attribute. Use this value in subsequent steps wherever the { CART_ID } variable is specified.

## Verify this step

Expand Down
2 changes: 1 addition & 1 deletion src/pages/graphql/usage/security-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To override these default values, create a custom module and provide a new value

In GraphQL, you can limit the maximum page size allowed. For information about how to enable and configure this feature, as well as additional arguments that are applicable to web APIs in general, see [API security](../../get-started/api-security.md).

## GraphQl module configuration
## `GraphQl` module configuration

The `GraphQl/etc/di.xml` file contains two arguments that can be overridden to enhance security and prevent performance bottlenecks:

Expand Down
6 changes: 3 additions & 3 deletions src/pages/rest/b2b/company-structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ GET /V1/team/

Name | Description | Format | Requirements
--- | --- | --- | ---
id | System-generated team ID | integer | Not applicable for create operations.
name | The displayed name of the team | string | Required to create or update a team.
description | An optional description of the team. | string | Optional
`id` | System-generated team ID | integer | Not applicable for create operations.
`name` | The displayed name of the team | string | Required to create or update a team.
`description` | An optional description of the team. | string | Optional

### Create a team

Expand Down

0 comments on commit 52f85f6

Please sign in to comment.