You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node version: v14.21.3
npm version: 6.14.18
Local ESLint version: 8.48.0
Local eslint-plugin-n: 16.1.0
Global ESLint version: N/A
Operating System: Fedora 38 , Linux 6.4.14-200.fc38.x86_64 x86_64 GNU/Linux
Steps to reproduce
Create any nodejs project
install eslint-plugin-n
do npm run lint
Throws below error.
/path/to/project/kube-service-bindings/node_modules/eslint-plugin-n/lib/util/get-typescript-extension-map.js:43
backward[javascript] ??= []
^^^
SyntaxError: Unexpected token '??='
at wrapSafe (internal/modules/cjs/loader.js:1029:16)
at Module._compile (internal/modules/cjs/loader.js:1078:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Module.require (internal/modules/cjs/loader.js:1003:19)
at require (internal/modules/cjs/helpers.js:107:18)
at Object.<anonymous> (/path/to/project/kube-service-bindings/node_modules/eslint-plugin-n/lib/util/map-typescript-extension.js:5:35)
at Module._compile (internal/modules/cjs/loader.js:1114:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
The text was updated successfully, but these errors were encountered:
Environment
Node version: v14.21.3
npm version: 6.14.18
Local ESLint version: 8.48.0
Local eslint-plugin-n: 16.1.0
Global ESLint version: N/A
Operating System: Fedora 38 , Linux 6.4.14-200.fc38.x86_64 x86_64 GNU/Linux
Steps to reproduce
npm run lint
Throws below error.
The text was updated successfully, but these errors were encountered: