When I try and commit a file, I get the error below. I can commit fine using the git cli. Any ideas?
/node_modules/@commitlint/load/node_modules/cosmiconfig/dist/index.js:79
const overrideOptions = metaConfig.config ?? {};
^
SyntaxError: Unexpected token ?
at Module._compile (internal/modules/cjs/loader.js:872:18)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.