Last active
April 8, 2025 18:11
-
-
Save nolanlawson/4ddf874c5f1e6ad8909f115447504c88 to your computer and use it in GitHub Desktop.
Oxlint stack overflow minimal repro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.idea | |
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "./node_modules/oxlint/configuration_schema.json", | |
"plugins": ["react-hooks"], | |
"rules": { | |
"exhaustive-deps": "deny" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "oxlint-repro", | |
"version": "1.0.0", | |
"lockfileVersion": 3, | |
"requires": true, | |
"packages": { | |
"": { | |
"name": "oxlint-repro", | |
"version": "1.0.0", | |
"dependencies": { | |
"oxlint": "0.16.5" | |
} | |
}, | |
"node_modules/@oxlint/darwin-arm64": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-0.16.5.tgz", | |
"integrity": "sha512-syGjqZ9ES2CZSxL2hJivZNhlaZG/H9EjW1kyup77cSzTqEoaf/wEgiqIEyb1nvkvA2/HexIOkgsL+MsQZ2b04Q==", | |
"cpu": [ | |
"arm64" | |
], | |
"license": "MIT", | |
"optional": true, | |
"os": [ | |
"darwin" | |
] | |
}, | |
"node_modules/@oxlint/darwin-x64": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-0.16.5.tgz", | |
"integrity": "sha512-JczXMFNRwcKYivi4OGaUKfOeugxMF5yMS4oELbSVeP2FQgEPoH/l1WErb+aYNSRuvr5QZiGZST0lGgWy/RPl7A==", | |
"cpu": [ | |
"x64" | |
], | |
"license": "MIT", | |
"optional": true, | |
"os": [ | |
"darwin" | |
] | |
}, | |
"node_modules/@oxlint/linux-arm64-gnu": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-0.16.5.tgz", | |
"integrity": "sha512-II1U6+IZeNRZ+BIPlOQ30cwkzBusF9bx4icx8Pxq7jAbtGKNFMEej9+sp4oXv2b8LU5bWVTQEvH/vuIwusMtmw==", | |
"cpu": [ | |
"arm64" | |
], | |
"license": "MIT", | |
"optional": true, | |
"os": [ | |
"linux" | |
] | |
}, | |
"node_modules/@oxlint/linux-arm64-musl": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-0.16.5.tgz", | |
"integrity": "sha512-2BVhlqspH6Mtqs2jONV6Eu/z+PaDxqPgcFxKV95RJVPHZv3+H6+rElwbCKx73b5IsHZa0SIj/nG1QKYb+GfKiw==", | |
"cpu": [ | |
"arm64" | |
], | |
"license": "MIT", | |
"optional": true, | |
"os": [ | |
"linux" | |
] | |
}, | |
"node_modules/@oxlint/linux-x64-gnu": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-0.16.5.tgz", | |
"integrity": "sha512-4z8eAvwJq7EYM9jUSjw1eL/RsP6Z6mB9e1leKUBY0B1/nRxivDPMA3ryOdJ6ZKTIxWUkJhMshKDP9qa5V8KoEA==", | |
"cpu": [ | |
"x64" | |
], | |
"license": "MIT", | |
"optional": true, | |
"os": [ | |
"linux" | |
] | |
}, | |
"node_modules/@oxlint/linux-x64-musl": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-0.16.5.tgz", | |
"integrity": "sha512-dfswyGsukAJ291Z+Yu7HLZV3JT66B31sCOauPZUqI7MKKqZaYH/2gVKAp/kTq0h94ENIME6jkPLNwJkYmNpYnw==", | |
"cpu": [ | |
"x64" | |
], | |
"license": "MIT", | |
"optional": true, | |
"os": [ | |
"linux" | |
] | |
}, | |
"node_modules/@oxlint/win32-arm64": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-0.16.5.tgz", | |
"integrity": "sha512-YTtBQObOays+OyT31du5WGNhl+I9yWyogTcn9RpKUapoA3XY9q3lS1DNuqTTEOC08+KDDygFGT7fIraMQjehVg==", | |
"cpu": [ | |
"arm64" | |
], | |
"license": "MIT", | |
"optional": true, | |
"os": [ | |
"win32" | |
] | |
}, | |
"node_modules/@oxlint/win32-x64": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-0.16.5.tgz", | |
"integrity": "sha512-cHJJRyVA2XlsGjIVKqw2DC5dkzWGOH6gxQwf6StTHn8F4i5P8gksV70VoNW5mwEXefF2USDX7H43YVIDG5E/Yw==", | |
"cpu": [ | |
"x64" | |
], | |
"license": "MIT", | |
"optional": true, | |
"os": [ | |
"win32" | |
] | |
}, | |
"node_modules/oxlint": { | |
"version": "0.16.5", | |
"resolved": "https://registry.npmjs.org/oxlint/-/oxlint-0.16.5.tgz", | |
"integrity": "sha512-z5MX2v4KUqzZQTnRkHHBPE4qEo08f5mJ4dQxi+r5t3xpGspVH/pBzWQ0UUy2xO3JHO8H6wpoeoh8bGs6jEygvQ==", | |
"license": "MIT", | |
"bin": { | |
"oxc_language_server": "bin/oxc_language_server", | |
"oxlint": "bin/oxlint" | |
}, | |
"engines": { | |
"node": ">=8.*" | |
}, | |
"funding": { | |
"url": "https://github.com/sponsors/Boshen" | |
}, | |
"optionalDependencies": { | |
"@oxlint/darwin-arm64": "0.16.5", | |
"@oxlint/darwin-x64": "0.16.5", | |
"@oxlint/linux-arm64-gnu": "0.16.5", | |
"@oxlint/linux-arm64-musl": "0.16.5", | |
"@oxlint/linux-x64-gnu": "0.16.5", | |
"@oxlint/linux-x64-musl": "0.16.5", | |
"@oxlint/win32-arm64": "0.16.5", | |
"@oxlint/win32-x64": "0.16.5" | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "oxlint-repro", | |
"version": "1.0.0", | |
"main": "index.js", | |
"scripts": { | |
"test": "oxlint -c .oxlintrc.json" | |
}, | |
"dependencies": { | |
"oxlint": "0.16.5" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useEffect } from 'react' | |
export const Test = () => { | |
const handleFrame = () => { | |
setTimeout(handleFrame) | |
} | |
useEffect(() => { | |
setTimeout(handleFrame) | |
}, []) | |
return ( | |
<></> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment