Skip to content

Commit bdc007d

Browse files
committed
more
1 parent ce1b2ae commit bdc007d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

website/app/graphql-config-info.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { compileMdx, MDXRemote } from '@theguild/components/server'
22

33
export async function GraphqlConfigInfo({ name, configKey = name }) {
4-
const rawMdx = `
5-
> [!NOTE]
4+
const rawMdx = `> [!NOTE]
65
>
76
> If you have a
87
> [GraphQL Config configuration file](https://the-guild.dev/graphql/config/docs/user/usage) in your
98
> project, the GraphQL-ESLint parser will automatically use it to load your GraphQL ${name}.
109
>
11-
> You should specify a \`${configKey}\` key in the GraphQL Config configuration file to load your GraphQL ${name}.
10+
> You should specify a \`${configKey}\` key in the GraphQL Config configuration file to load your
11+
> GraphQL ${name}.
1212
>
1313
> Alternatively, you can pass GraphQL Config options programmatically via
1414
> \`languageOptions.parserOptions.graphQLConfig\` in your \`eslint.config.js\` file.`

website/content/docs/usage/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ Example of providing GraphQL operations:
175175

176176
<Tabs items={['GraphQL Config', 'Programmatic Usage']}>
177177
<Tabs.Tab>
178+
178179
```js filename="graphql.config.js"
179180
export default {
180181
// a path to a local `.graphql` file
@@ -187,6 +188,7 @@ export default {
187188
documents: ['./src/users.graphql', './src/posts.graphql', './src/user-fields.graphql']
188189
}
189190
```
191+
190192
</Tabs.Tab>
191193

192194
<Tabs.Tab>

0 commit comments

Comments
 (0)