We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Add an entry in the globals object in the eslint-config package settings:
globals
"globals": { "globalThis": "readonly", "BigInt": "readonly", ... },
Make sure to remove any /* global */ comments as they will cause a linting error (no-redeclare) due to the variable already being declared.
/* global */
Find or add a globals.d.ts to your package. Within the file, add a line, like:
globals.d.ts
declare global { var makeKind: function; }
In the jsconfig.json for your package, make sure the globals.d.ts is included:
jsconfig.json
"include": ["src/**/*.js", "exported.js", "globals.d.ts"],