-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuerepo maintenancethings to do with maintenance of the repo, and not with code/docsthings to do with maintenance of the repo, and not with code/docs
Description
Suggestion
context.options is the raw user-provided options before defaultOptions is applied, while create's second parameter is after defaultOptions. Example bug & fix PR:
- Bug: @typescript-eslint/keyword-spacing crashes #6060
- chore: use no-restricted-syntax to enforce created options in rules #6074
Unless I'm wrong about the difference, let's add a lint rule to prevent this internally?
omril1
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuerepo maintenancethings to do with maintenance of the repo, and not with code/docsthings to do with maintenance of the repo, and not with code/docs