Skip to content

fix: lint

fix: lint #31

Triggered via push October 15, 2024 15:45
Status Failure
Total duration 1m 15s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors
src/markdown/__test__/headings-plugin.test.js: packages/@alterjs/saber/src/markdown/headings-plugin.js#L1
SyntaxError: Unexpected token 'export' ❯ src/markdown/headings-plugin.js:1:15 Module /home/runner/work/saber/saber/packages/@alterjs/saber/src/utils/slugo.js:31 seems to be an ES Module but shipped in a CommonJS package. To fix this issue, change the file extension to .mjs or add "type": "module" in your package.json.
Test on ubuntu-latest
Process completed with exit code 1.
Test on windows-latest
The job was canceled because "ubuntu-latest" failed.
Test on windows-latest
The operation was canceled.