-
-
Notifications
You must be signed in to change notification settings - Fork 720
Closed
Labels
A-linter-pluginsArea - Linter JS pluginsArea - Linter JS pluginsC-enhancementCategory - New feature or requestCategory - New feature or requestgood first issueExperience Level - Good for newcomersExperience Level - Good for newcomers
Milestone
Description
As described in ESLint's docs: https://eslint.org/docs/latest/extend/custom-rules#the-context-object
The absence of this property was mentioned in #14649 (comment) as a blocker to supporting eslint-plugin-better-tailwindcss plugin.
I'm not sure exactly what cwd means in this context - I'm guessing it's probably not the same as process.cwd(), and more likely to be the highest directory which Oxlint has been asked to lint files in. We'd need to check what ESLint does here and replicate it.
Metadata
Metadata
Assignees
Labels
A-linter-pluginsArea - Linter JS pluginsArea - Linter JS pluginsC-enhancementCategory - New feature or requestCategory - New feature or requestgood first issueExperience Level - Good for newcomersExperience Level - Good for newcomers