basedpyright
basedpyright copied to clipboard
refactor config options to be stored in a single schema that gets parsed/validated
currently the options are defined in many different places and each option gets validated manually
it should handle generating the docs for the rules. because currently you have to manually update them to match the defaults as well: https://detachhead.github.io/basedpyright/#/configuration?id=diagnostic-rule-defaults
related issues:
- https://github.com/DetachHead/basedpyright-playground/issues/13
- #43
also the code to parse the lsp config is completely separate to the code that parses thwe config files for some reason