basedpyright icon indicating copy to clipboard operation
basedpyright copied to clipboard

refactor config options to be stored in a single schema that gets parsed/validated

Open DetachHead opened this issue 2 years ago • 3 comments

currently the options are defined in many different places and each option gets validated manually

DetachHead avatar Jan 26 '24 23:01 DetachHead

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

DetachHead avatar Jan 27 '24 00:01 DetachHead

related issues:

  • https://github.com/DetachHead/basedpyright-playground/issues/13
  • #43

DetachHead avatar Mar 24 '24 05:03 DetachHead

also the code to parse the lsp config is completely separate to the code that parses thwe config files for some reason

DetachHead avatar Aug 15 '24 13:08 DetachHead