Results 3 issues of Pedant

Why?: The Code will report a strange Syntax Error, but it will run normally after removing `const WORK_SPACE = process.cwd();` Code: ``` const WORK_SPACE = process.cwd(); export async function test(task){...

- [ ] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate. ### Reproduction link [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/unruffled-platform-7tphi3?file=/index.jsx:1364-1371) ### Steps to reproduce ![image](https://user-images.githubusercontent.com/21262401/234533256-6f9c6a74-46b5-4b56-91cb-dff22e29c313.png)...

- [ ] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate. ### What problem does this feature solve? F2 4.x Guide 可以支持自定义...