wikimedia / eslint-docgen

Automatically generate ESLint plugin documentation from rule metadata and test cases.
MIT License
10 stars 7 forks source link

Add support for per-rule config overrides #99

Closed DannyS712 closed 3 years ago

DannyS712 commented 3 years ago

The tests object can now include a docgenConfig property that overrides the project-wide config First part of addressing #98

DannyS712 commented 3 years ago

Looks ok, but needs tests.

How can we test this? There are no existing tests for write-docs-from-tests.js (the tests file is empty) so I'm not quite sure how to add these