Skip to content

Commit 3e4589b

Browse files
committed
fix: title frontmatter and eslint
1 parent 4ed2534 commit 3e4589b

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

documentation/docs/10-plugin/10-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Title: Configuration
2+
title: Configuration
33
---
44

55
`vite-plugin-svelte` accepts inline options that can be used to change its behaviour. An object can be passed to the first argument of the `svelte` plugin:

documentation/docs/10-plugin/20-advanced-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Title: Advanced Usage
2+
title: Advanced Usage
33
---
44

55
> **HERE BE DRAGONS**

documentation/docs/10-plugin/30-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Title: Frequently Asked Questions
2+
title: Frequently Asked Questions
33
---
44

55
## Something is wrong with my config, how can I find where the problem comes from?
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
Title: Plugin
2+
title: Plugin
33
---

documentation/docs/20-inspector/10-inspector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Title: Inspector
2+
title: Inspector
33
---
44

55
`@sveltejs/vite-plugin-svelte-inspector` is a Vite plugin that adds a Svelte inspector in the browser. It shows the file location where the element under cursor is defined and you can click to quickly open your code editor at this location.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
Title: Plugin
2+
title: Plugin
33
---

documentation/docs/30-preprocess/10-preprocess.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
Title: Preprocess
2+
title: Preprocess
33
---
44

55
`vite-plugin-svelte` also exports Vite preprocessors to preprocess Svelte components using Vite's built-in transformers.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
Title: Preprocess
2+
title: Preprocess
33
---

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default [
142142
},
143143
{
144144
name: 'local/markdown-codefences/allow-require',
145-
files: ['documentation/docs/10-plugin/30-faq.md/*.js'],
145+
files: ['**/docs/faq.md/*.js', 'documentation/docs/10-plugin/30-faq.md/*.js'],
146146
rules: {
147147
'@typescript-eslint/no-require-imports': 'off'
148148
}

0 commit comments

Comments
 (0)