fix(eslint-plugin): [keyword-spacing] prevent crash on no options - #6073
Conversation
|
Thanks for the PR, @JoshuaKGoldberg! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6073 +/- ##
=======================================
Coverage 91.28% 91.28%
=======================================
Files 366 366
Lines 12353 12353
Branches 3612 3612
=======================================
Hits 11276 11276
Misses 768 768
Partials 309 309
Flags with carried forward coverage won't be shown. Click here to find out more.
|

PR Checklist
Overview
Sources the
afteroption from the second parameter tocreateinstead ofcontext.options. Turns out the latter is the raw user-provided options beforedefaultOptionsare applied.