chore(docs): added eslint to lint documentation code blocks (#2920)
* docs: added rule for code length * chore: fixes based on vale errors * changed to use eslint * fixes using eslint * added github action for documentation eslint * changed allowed max-length * fixed incorrect heading level * removed comment
This commit is contained in:
@@ -105,7 +105,7 @@ Finally, in `medusa-config.js` add a new item to the `plugins` array:
|
||||
|
||||
```jsx title=medusa-config.js
|
||||
const plugins = [
|
||||
//...
|
||||
// ...
|
||||
{
|
||||
resolve: `medusa-file-spaces`,
|
||||
options: {
|
||||
@@ -116,7 +116,7 @@ const plugins = [
|
||||
secret_access_key: process.env.SPACE_SECRET_ACCESS_KEY,
|
||||
},
|
||||
},
|
||||
];
|
||||
]
|
||||
```
|
||||
|
||||
:::caution
|
||||
@@ -158,14 +158,14 @@ In `next.config.js` add the following option in the exported object:
|
||||
```jsx title=next.config.js
|
||||
const { withStoreConfig } = require("./store-config")
|
||||
|
||||
//...
|
||||
// ...
|
||||
|
||||
module.exports = withStoreConfig({
|
||||
//...
|
||||
// ...
|
||||
images: {
|
||||
domains: [
|
||||
//...
|
||||
"<YOUR_SPACE_DOMAIN>"
|
||||
// ...
|
||||
"<YOUR_SPACE_DOMAIN>",
|
||||
],
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user