Skip to content

Commit 1d03152

Browse files
committed
update README.md adding note for preprocess must be sync function
1 parent c0f4dd1 commit 1d03152

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ You can use a preprocessor function to return custom AST info according to the o
110110

111111
For now this only supports `module` and `instance` scripts.
112112

113+
NOTE: The preprocess function MUST be a synchronous function because ESLint works doesn't work with async functions. See issue [#10 (comment)](https://github.com/sveltejs/eslint-plugin-svelte3/issues/10#issuecomment-490634346)
113114

114115
## Using the CLI
115116

0 commit comments

Comments
 (0)