-
-
Notifications
You must be signed in to change notification settings - Fork 925
Labels
A-linterArea - LinterArea - Linter
Description
What version of Oxlint are you using?
1.43.0
What command did you run?
oxlint .
What does your .oxlintrc.json config file look like?
What happened?
I've installed oxlint 1.43.0 on turborepo + yarn 4.12.0 pnp project,
running oxlint not working with EBADF error.
node:internal/modules/run_main:123
triggerUncaughtException(
^
Error: EBADF: bad file descriptor, fstat
at tryStatSync (node:fs:390:25)
at readFileSync (node:fs:446:17)
at getSourceSync (node:internal/modules/esm/load:41:14)
at defaultLoad (node:internal/modules/esm/load:92:34)
at nextLoad (node:internal/modules/esm/hooks:748:28)
at load$1 (file:///Users/noel/work/revenuemarket-web/.pnp.loader.mjs:1525:12)
at nextLoad (node:internal/modules/esm/hooks:748:28)
at Hooks.load (node:internal/modules/esm/hooks:385:26)
at handleMessage (node:internal/modules/esm/worker:199:24)
at checkForMessages (node:internal/modules/esm/worker:141:28) {
errno: -9,
code: 'EBADF',
syscall: 'fstat'
}
Node.js v22.22.0
If install with unplugged mode, language server error with EACESS error from running oxlint.darwin-arm64.node.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-linterArea - LinterArea - Linter
Type
Fields
Give feedbackPriority
None yet
Effort
None yet
{ "$schema": "./.yarn/unplugged/oxlint-virtual-71d05bb050/node_modules/oxlint/configuration_schema.json", "plugins": ["typescript", "import", "react"], "categories": { "correctness": "off" }, "rules": { "typescript/ban-ts-comment": "warn", "typescript/no-explicit-any": "warn", "typescript/no-namespace": "off", "typescript/no-non-null-asserted-optional-chain": "off", "typescript/no-unused-vars": [ "warn", { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" } ], "typescript/no-extra-non-null-assertion": "off", "import/no-cycle": "error", "import/no-duplicates": "error", "react/display-name": "off", "react/jsx-no-useless-fragment": "warn", "react/jsx-key": "warn", "react/no-deprecated": "warn", "react/require-default-props": "off", "react/rules-of-hooks": "error", "react/exhaustive-deps": "error" }, "ignorePatterns": [ ".pnp.*", ".yarn", "**/*.tsbuildinfo", "node_modules", "dist", ".next", "tools" ] }