

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456789101112# Strict TypeScript: Fingerprinting1314## Task1516Fix all strict-mode TypeScript errors in 5 fingerprinting files and add them to `CORE_FILES`.1718## Branch1920```21git checkout main && git pull origin main && git checkout -b cursor/strict/fingerprinting22```2324## Files (26 errors total)2526### `injected/src/features/fingerprinting-audio.js` (10 errors)27```28(6,10): error TS7006: Parameter 'args' implicitly has an 'any' type.29(11,37): error TS7006: Parameter 'channelData' implicitly has an 'any' type.30(11,50): error TS7006: Parameter 'domainKey' implicitly has an 'any' type.31(11,61): error TS7006: Parameter 'sessionKey' implicitly has an 'any' type.32(11,73): error TS7006: Parameter 'thisArg' implicitly has an 'any' type.33(69,36): error TS7006: Parameter 'thisArg' implicitly has an 'any' type.34(69,45): error TS7006: Parameter 'args' implicitly has an 'any' type.35(80,27): error TS7006: Parameter 'thisArg' implicitly has an 'any' type.36(80,36): error TS7006: Parameter 'args' implicitly has an 'any' type.37(80,42): error TS7006: Parameter 'audioKey' implicitly has an 'any' type.38```3940### `injected/src/features/fingerprinting-battery.js` (1 error)41```42(12,47): error TS7017: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.43```4445### `injected/src/features/fingerprinting-canvas.js` (1 error)46```47(6,10): error TS7006: Parameter 'args' implicitly has an 'any' type.48```4950### `injected/src/features/fingerprinting-screen-size.js` (10 errors)51```52(19,33): error TS2339: Property 'availWidth' does not exist on type '{}'.53(25,33): error TS2339: Property 'availHeight' does not exist on type '{}'.54(31,33): error TS2339: Property 'colorDepth' does not exist on type '{}'.55(36,33): error TS2339: Property 'pixelDepth' does not exist on type '{}'.56(53,30): error TS7006: Parameter 'value' implicitly has an 'any' type.57(53,37): error TS7006: Parameter 'targetDimension' implicitly has an 'any' type.58(63,28): error TS7006: Parameter 'property' implicitly has an 'any' type.59(63,38): error TS7006: Parameter 'value' implicitly has an 'any' type.60(89,56): error TS2339: Property 'availTop' does not exist on type '{}'.61(110,56): error TS2339: Property 'availLeft' does not exist on type '{}'.62```6364### `injected/src/features/fingerprinting-temporary-storage.js` (4 errors)65```66(20,75): error TS7006: Parameter 'callback' implicitly has an 'any' type.67(20,85): error TS7006: Parameter 'err' implicitly has an 'any' type.68(21,56): error TS7006: Parameter 'usedBytes' implicitly has an 'any' type.69(21,67): error TS7006: Parameter 'grantedBytes' implicitly has an 'any' type.70```7172## Fix Patterns7374- **TS7006** (Parameter implicitly any): Most are `args` params for `init()` or wrapper functions. Add `@param` JSDoc. For `args`, look at how `ContentFeature.init(args)` is called — likely `Record<string, unknown>` or a specific config type.75- **TS7017** (globalThis index): Use `/** @type {Record<string, unknown>} */ (globalThis)` or access through a typed helper.76- **TS2339** (Property on `{}`): The config object is typed as `{}` but has screen properties. Define a `@typedef` for the screen config shape with `availWidth`, `availHeight`, `colorDepth`, `pixelDepth`, `availTop`, `availLeft`.7778## Workflow79801. `npm ci`812. Add all 5 files to CORE_FILES in `scripts/check-strict-core.js`823. Fix each file's errors834. `npm run tsc-strict-core` — must pass845. `npm run test-unit` — must pass856. `npm run lint` — must pass (run `npm run lint-fix` first if needed)867. Commit: `fix(types): add strict checking for fingerprinting files`878. `git push -u origin cursor/strict/fingerprinting`8889## Constraints9091- Do NOT use `any` — use `unknown`, specific types, or proper interfaces92- Do NOT use `@ts-ignore` or `@ts-expect-error`93- Do NOT modify files outside the assigned list (except `scripts/check-strict-core.js`)94- Do NOT remove existing CORE_FILES entries95- Preserve existing behavior — type fixes only, no logic changes96
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| duckduckgo/content-scope-scriptstypes-generator/AGENTS.md · 70 | AGENTS.md | testarchtypesdo-not | 73/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-broker-protection-actions.mdc · 70 | Cursor rules | buildteststyletypes+4 | 93/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-broker-protection-rest.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-click-to-load.mdc · 70 | Cursor rules | teststyletypesgit+2 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-detectors.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-duckplayer-native.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-duckplayer.mdc · 70 | Cursor rules | setupteststyletypes+4 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-message-bridge.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-standalone-features-a.mdc · 70 | Cursor rules | teststyletypesgit+4 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-standalone-features-b.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-standalone-features-c.mdc · 70 | Cursor rules | teststyletypesgit+4 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-web-compat-and-telemetry.mdc · 70 | Cursor rules | teststyletypesgit+3 | 89/100 | 14 days ago | |
| duckduckgo/content-scope-scripts.cursor/rules/strict-zero-errors-batch.mdc · 70 | Cursor rules | testtypesgitdo-not+1 | 81/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsAGENTS.md · 70 | AGENTS.md | buildtestlint-formatstyle+5 | 83/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsinjected/AGENTS.md · 70 | AGENTS.md | buildteststylearch+2 | 92/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsmessaging/AGENTS.md · 70 | AGENTS.md | testarchtesting-strategyapi | 66/100 | 14 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/duckduckgo-content-scope-scripts-cursor-rules-strict-fingerprinting)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.