Skip to content

fix: class exception #1247

fix: class exception

fix: class exception #1247

Triggered via pull request May 7, 2024 16:01
Status Failure
Total duration 2m 54s
Artifacts

pull-request.yml

on: pull_request
Lint commit message
39s
Lint commit message
Lint source code
2m 45s
Lint source code
Validate Docs
1m 8s
Validate Docs
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Lint commit message
You have commit messages with errors error running commitlint module is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. ReferenceError: module is not defined in ES module scope This file is being treated as an ES module because it has a '.js' file extension and '/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension. at file:///github/workspace/commitlint.config.js:1:1 at ModuleJob.run (node:internal/modules/esm/module_job:217:25) at async ModuleLoader.import (node:internal/modules/esm/loader:316:24) at async importModuleDynamicallyWrapper (node:internal/vm/module:431:15) at async loadJs (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/loaders.js:23:17) at async #loadConfiguration (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:116:36) at async #loadConfigFileWithImports (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:87:31) at async #readConfiguration (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:84:51) at async search (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:50:40) at async Explorer.search (/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/Explorer.js:78:20)
Lint source code
Process completed with exit code 2.