Skip to content

Commit 1988888

Browse files
committed
chore: update README
1 parent 44d2ccb commit 1988888

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/user-guide.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ export default [
5050
// By doing so, some rules in eslint-plugin-svelte will automatically read the configuration and adjust their behavior accordingly.
5151
// While certain Svelte settings may be statically loaded from svelte.config.js even if you don’t specify it,
5252
// explicitly specifying it ensures better compatibility and functionality.
53+
//
54+
// If non-serializable properties are included, running ESLint with the --cache flag will fail.
55+
// In that case, please remove the non-serializable properties. (e.g. `svelteConfig: { ...svelteConfig, kit: { ...svelteConfig.kit, typescript: undefined }}`)
5356
svelteConfig
5457
}
5558
}
@@ -108,6 +111,9 @@ export default ts.config(
108111
// By doing so, some rules in eslint-plugin-svelte will automatically read the configuration and adjust their behavior accordingly.
109112
// While certain Svelte settings may be statically loaded from svelte.config.js even if you don’t specify it,
110113
// explicitly specifying it ensures better compatibility and functionality.
114+
//
115+
// If non-serializable properties are included, running ESLint with the --cache flag will fail.
116+
// In that case, please remove the non-serializable properties. (e.g. `svelteConfig: { ...svelteConfig, kit: { ...svelteConfig.kit, typescript: undefined }}`)
111117
svelteConfig
112118
}
113119
}

0 commit comments

Comments
 (0)